Open Bhavesh012 opened 1 month ago
Okay, found the solution. This error comes up when the --lookbacktime
argument is not set. If I set it, let's say, -l 1000
then it works. I thought that if we kept it blank, then it would default to the beginning of the scientific operations of the telescope. I think this should be mentioned somewhere on the README file.
Thanks for mentioning this. I'll look into it. Maybe there's some problem with setting the default value. I'm not sure how it came up with that MJD range in your original query.
The default value for lookbacktime is 1 day. I remember now, we decided on this as the default rather than looking back at the entire duration of the mission in order to prevent cases where the query would return thousands of files and possibly run into timeout errors. Another option, which is probably easier when looking for older data, is to use the "date_select" parameter, where you can input starting and ending dates, or just a starting date, for the search.
i agree that when the query is restrictive enough that returning a very large number of files is not an issue, it would be better if the lookbacktime default was adjusted to be the length of the mission. We'll have to think about how to implement that.
Ah, okay, I see. Makes sense. Thanks for clearing it out, and yeah, having lookback time default to the length of the mission would be convenient.
Hey, I am having this issue now while running a tutorial from spaceKLIP package. I am running this command to download the data:
But I am getting this error:
I manually checked on the MAST portal and found that the observations do exist. I also tried defining
obsmode
, but it didn't work. I don't know what I am doing wrong here.I also tried for another proposal ID and targets, but again faced the same issue.