-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAiDER build the data cube failed when the HRES weather model contains NaNs [BUG] #605
Comments
This should be fixed in the current Release 0.4.5. Unfortunately you'll have to install from GitHub as the latest releases aren't available on conda |
Although, I don't think HRES should contain Nans |
Thanks @bbuzz31, I checked the ECMWF HRES NetCDF data, it indeed has the NaN values as shown below, |
@bbuzz31 would you please clarify what the latest release does when there is NAN in the input data? |
@hfattahi NANS in the input file no longer raise an error during RAiDER and are propagated such that the final delays are NAN at those locations. However, this should only happen for regional models (like HRRR) when you specify an AOI that is not covered by the model domain. So I wouldn't expect this in global HRES. @xhuang-jpl I ran RAiDER with a bounding box based on yours (SNWE=[17, 20, 79, 82]) on the same date and get weather model files without NAN... I suspect you have an old version of the actual weather model file? |
Thanks @bbuzz31 , I have no account to download the HRES from the RAiDER, can you share with me your downloaded file? |
@dbekaert @jhkennedy this issue is blocking a delivery on NISAR SDS. The flow is not to install from source. Would you please push this release to conda? How long do you think it will take to have this release on conda? |
@hfattahi I've been working on the v0.4.5 conda-forge release this week. You can follow this PR to see when it's merged and available on conda: Should be this afternoon. |
Thank you @jhkennedy. We will follow the PR on conda-forge. |
@hfattahi v0.4.5 PR was merged and should be available on conda in the next couple of hours once the CDN refreshes |
Thank you @jhkennedy ! I will install and test it when it is ready. |
Hi @jhkennedy and @bbuzz31, when I convert the ECMWF NetCDF (white dots are NaNs) to RAiDER internal NetCDF, the NaNs seems to be replaced with 0 as shown below, which may be because of this function? Thanks. RAiDER/tools/RAiDER/models/weatherModel.py Line 265 in e9cac85
|
Would it be possible in the next release, the user can pass their own named weather model file when this function ( |
Describe the bug
When the HRES weather model contains NaN values, the RAiDER bulids the data cube failed with errors shown below,
I have tested on my side, if the NaNs are interpolated, this issue is gone. Here is the simple code I run to interpolate the NaNs if it is helpful.
To Reproduce
Steps to reproduce the behavior:
Traceback (most recent call last):
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: