I have been using Icepyx for sometime and it has been working great. Thanks to the efforts of all the developers and contributers.
Today I came across a strange error while choosing a specific ground track for download using icepyx. I hope someone can look into this; I am really sorry if this turns out to be something silly that I have missed but several trial-and-error attempts have helped me understand there is some problem with the date_range and tracks combination.
Code:
short_name = ‘ATL03’
spatial_extent = ‘/home/anirudha/Desktop/antarctic_gl_timeseries/data/fimbul_wgs84.shp’
Case1 : (Working)
region_a = ipx.Query(short_name, spatial_extent, date_range=[‘2018-02-20’, ‘2019-02-28’], tracks=‘1349’ )
Case2 : (Not working)
region_a = ipx.Query(short_name, spatial_extent, date_range=[‘2018-02-20’, ‘2019-04-28’] , tracks=‘1349’)
Case 3 : (Working)
region_a = ipx.Query(short_name, spatial_extent, date_range=[‘2018-02-20’, ‘2019-04-28’]) #No tracks mentioned
As we can see in the screenshot, the first case works well with a specific date range and 1 track (1349). The 2nd case breaks when the date range is increased by 2 months, track remains the same.
In the third case, the date range is same as second, but no filter for tracks is mentioned (tracks=None). And this works as well.
I wonder what is going wrong in case 2. Can someone help?
To be able to recreate the same situation, I am attaching the shapefile that I have used.
~ Anirudha