blaylockbk / goes2go

Download and process GOES-16 and GOES-17 data from NOAA's archive on AWS using Python.
https://goes2go.readthedocs.io/
MIT License
205 stars 38 forks source link

Issues with Datetime format for dates past August 23rd 2022 for SUVI-L1b-Fe131 product #102

Open Alan-Birnbaum opened 3 months ago

Alan-Birnbaum commented 3 months ago

I just really quickly want to say that this package is amazing, and has been a lot of fun to mess around with!

Moving on the issue, I noticed that while trying to plot SUVI data I was getting errors on the format of the date string. I modified the date on the sample code in the solar data sample notebook so my code is as follows: g = goes_nearesttime("2024-05-14 17:00", product="SUVI-L1b-Fe131") which gave me the ValueError below:

ValueError: time data "c20241351601329.fits" doesn't match format "c%Y%j%H%M%S%f.nc", at position 0. You might want to try:

As a test I used the sample code in the SUVI notebook: g = goes_nearesttime("2020-01-04 00:00", product="SUVI-L1b-Fe131") and had success. After some testing I was able to find that any date before August 24th 2022 works, but any date afterwards doesn't.

I'm running a jupyter notebook in VSCode using Python 3.11.9.