-
Notifications
You must be signed in to change notification settings - Fork 44
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
wrfout.nc cause lat/long exception in ninja::set_position() #383
Comments
I wonder if this could it be related to the GDAL3.0 change surrounding the transform function?
|
ksshannon
added a commit
that referenced
this issue
Jul 31, 2020
RFC 73[0] introduces a better way to handle axis ordering in projections, allowing for querying and setting the order in some cases. This fixes one such case that was found in #383, and applies the same fix to a few other spots in gdal_util.cpp. FetchTimeZone() has an instance that needs to be looked at. #383 will be re-purposed to track all of these. Updates #383
Closing this, see #384 for a more general purpose issue. |
ksshannon
added a commit
that referenced
this issue
Aug 19, 2020
RFC 73[0] introduces a better way to handle axis ordering in projections, allowing for querying and setting the order in some cases. This fixes one such case that was found in #383, and applies the same fix to a few other spots in gdal_util.cpp. FetchTimeZone() has an instance that needs to be looked at. #383 will be re-purposed to track all of these. Updates #383
nwagenbrenner
added a commit
that referenced
this issue
Aug 3, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When loading a wrfout.nc I get the error
Exception caught: Latitude greater than 90 degrees or less than -90 degrees in ninja::set_position().
I've traced the code and it seems to me that the lat and long values are swapped.
From gdb here
windninja/src/ninja/ninja.cpp
Line 4190 in 95f392d
I tried swapping lat/long just to see and it doesn't work
This occurs with a wrfout.nc I've created myself. It also happens with a wrfout Natalie provided me, however I'm not totally sure of the DEM to be using with it. It does not happen with the
20170603T1800.nc
andbig_butte_small.tif
files in the example data dir.System details:
CMake
I have added these lines to the top of the CMakeLIsts.txt otherwise I have a problem with the code not detecting a C++11 compiler
Invocation
The text was updated successfully, but these errors were encountered: