goes2go icon indicating copy to clipboard operation
goes2go copied to clipboard

WEST not a valid option for satellite selector

Open DirkMPetersen opened this issue 9 months ago • 3 comments

When defining the desired satellite, using EAST works fine, but defining it as "WEST" does not when using the example below:

G = GOES(satellite="WEST", product="ABI-L1b-RadC", domain=selected_domain, bands=selected_option_actual)

DirkMPetersen avatar Mar 24 '25 12:03 DirkMPetersen

@DirkMPetersen You can use satellite=18 for west. It defaults to 17 which is now an on-orbit spare. As of next week EAST won't work either, since G19 is becoming operational instead of G16.

coliveir-aer avatar Mar 24 '25 14:03 coliveir-aer

I am aware that there were other options to call the data, but good to know that EAST and WEST aren't going to work, Will work out logic based on a given date to select the proper satellite in my data grabbing script

DirkMPetersen avatar Mar 24 '25 15:03 DirkMPetersen

yeah, there is a design flaw here. You set the satellite number when creating a GOES() object, but when you call GOES(satellite="EAST").latest() it defaults to noaa-goes16, which isn't valid anymore.

https://github.com/blaylockbk/goes2go/blob/8d06efebfe2b931ede33343b474611907bdbfe95/src/goes2go/NEW.py#L114-L125

Perhaps the best way to redesign this is to interpret the "WEST" and "EAST" alias in each of the other methods and not in GOES.__init__.

blaylockbk avatar May 13 '25 05:05 blaylockbk