-
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
Error in requesting specific RGTs and cycles #166
Comments
The KeyError is coming from the lack of the appropriate key in the dictionary of results returned from NSIDC. I started tackling #79 accidentally in working through your issue, and if you run: I'm not entirely sure what to make of it, since on the surface (CMRparams dict prints as: A favor to ask: in the future, if you could copy-paste the code blocks directly into GitHub (an image of the error trace is fine) it would be super helpful for recreating the problem locally without having to retype everything. I do greatly appreciate you including a MWE to reproduce the problem! |
Thanks @JessicaS11 for checking on this issue and I have updated the code blocks! Just tried |
I am having similar issues as @icetianli. Both of these issues also extend to query's for a single RGT, like so:
This query for RGT '0468' returns cycles '03' and '04', but also many other unwanted RGT's:
Similarly, a query containing more than two cycles returns the
From my experience, this
OR If the quantity of cycles/RGT's are increased in any of these three scenarios (i.e. 4 cycles and 2 RGT's, 2 cycles and 4 RGT's, etc.). |
Thanks for all the detailed examples @icetianli and @dpyles97. I've figured out what the issue is, with the help of a previous error post on Discourse. Unfortunately, right now the limitation is from the CMR (Common Metadata Repository) end (one of the underlying tools that icepyx uses to actually order the correct data from NSIDC). Behind the scenes, icepyx turns the cycles and tracks you submit into orbit numbers, which are submitted to CMR to find the right granules. Unfortunately, CMR only accepts single value or range inputs for
and Dakota noted in her examples. Similarly, if you try to submit any combination of tracks * cycles that results in >2 orbit numbers (as helpfully noted in @dpyles97 generalized query notes), you get a feed error because CMR cannot handle the list of orbit numbers. As you'll note from the Discourse post, as of October 2020 the CMR team was considering expanding |
Great, thanks @JessicaS11 for keeping us updated! I am happy to help with this when the |
Thanks for the update, @JessicaS11! Good to know - I hope we can get a work-around for these issues in the not too distant future. |
Hello @dpyles97 and @icetianli. I just merged #148 into development, which allows searches by orbital parameters. I haven't tried these updates with your specific use cases, but I wanted to reopen the conversation to let you know this functionality was available and reopen the conversation if we'd like to think about implementing a way to query/order data as you'd like. |
This is awesome! Thanks @JessicaS11, will check this out! Now we can also add orbital parameters into the |
Good to know @JessicaS11. This is great! Thanks for working on this. |
@icetianli @dpyles97 I was looking for an example where I got a feed error to test a new error message. The bad news is I can't test the error message. The good news is that I was able to run all of the problem examples you provided with expected results, so I'm closing this issue. : ) |
I was trying to download different cycles of ground tracks of interest by passing a cycle list and a track list. I know a similar issue has been discussed before, but when I tried to get multiple RGTs of one cycle, the returned dataset contains all the tracks in between the RGT numbers of this track list, instead of only returning the two RGTs I am interested, e.g. tracks '0415', '0598' in cycle 7:
The above code will return:
When querying multiple RGTs from different cycles, I will receive
KeyError: ‘feed’
:Any idea why? I was also wondering if it’s possible to only return the tracks with specific cycle numbers and RGT numbers that I passed in the Query class. Thanks!
The text was updated successfully, but these errors were encountered: