pysat / pysatNASA

pysat support for NASA Instruments
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

BUG: Monthly file download #134

Closed aburrell closed 1 year ago

aburrell commented 1 year ago

Describe the bug Currently, it looks like pysatNASA is getting the level 3a files from the 'CDF' directory on CDAWeb, but this means that a chunk of the data is missing.

To Reproduce Compare: https://cdaweb.gsfc.nasa.gov/pub/data/timed/see/data/level3a_cdf/2008/11/

to

https://cdaweb.gsfc.nasa.gov/pub/data/timed/see/data/level3a/2008/

Expected behavior There would not be data gaps based on the source

Additional context This is likely a CDAWeb issue.

jklenzing commented 1 year ago

Linking to #14, #103. TIMED SEE needs an overhaul anyway.

Looking at my local file structure, the cdf files are monthly versions of the daily netcdf files

jklenzing commented 1 year ago

Also linking to #104, since the netCDF support issues there apply here as well.

aburrell commented 1 year ago

Ok, so the real issue is that the download routine doesn't adjust the start date correctly for monthly data. This is an issue with the download function that should be fixed, since a user should not be required to know the download file cadance.

jklenzing commented 1 year ago

Verified that this was fixed by #145.