-
Notifications
You must be signed in to change notification settings - Fork 107
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
Problem selecting region that crosses the dateline (180) #111
Comments
Thanks for sharing this error, @slhowardESR. This behavior is due to a validation check that wants the second longitude entered to be greater than the first longitude entered (to prevent users from entering a "backwards" bounding box). This clearly is a problem for boxes that cross the dateline, so we'll have to modify our check to include this situation. |
Hi @JessicaS11 , I am using the updated version of this now, and setting up a bounding box that crosses the date line works well, however, I now have a problem with accessing the data that i think is still related to the dateline issue, but maybe not related code wise. this part of the code I am using works fine now (if failed previously):
However, it fails when I try to start accessing the data:
and i can't order any granules, etc If use a different spatial extent that doesn't cross the dateline, such as spatial_extent = = [162.0, -78.95, 180, -75.7], it works fine, so I think it is still related to this dateline issue. Let me know if I need to send any more info (or my full code) or if i need to add this as a new issue? And sorry for delay on fully checking this (I took some time off) |
Hello @slhowardESR! If I enter the spatial extent (and other inputs) that you show above, |
Hi @JessicaS11 , if I use So, I assumed (incorrectly) that I just had to use longitude as 0-360. (and it makes sense that this doesn't work with the NSIDC site). So, if the code above is working for you, the problem is probably on my end with the new library updates/install. I will try again! |
Hello @slhowardESR. Thanks for this update. Your assumption on 0-360deg inputs totally makes sense given the error you were seeing. After you git pulled the most recent development version, make sure that you |
okay - awesome. Thanks, That helps! |
When trying to select a subsetting region that crosses the dateline, i get an error : invalid bounding box longitudes.
the basic code:
the same code works fine for spatial_extent = [162.0, -78.95, 180 , -75.7] or spatial_extent = [-175.77, -79.2, -160.0, -75.88],
The text was updated successfully, but these errors were encountered: