Re: Pytroll/SatPy problems with GOES16 script


Daniele Guardigli
 

Hi Ernst, sorry for the bad mistake! I've left the ini file as it was  downloaded, without editing the file.
Could you attach me an example of your channels .ini file? Thank you

Il giorno lun 1 mar 2021 alle ore 19:19 Ernst Lobsiger via groups.io <ernst.lobsiger=belponline.ch@groups.io> ha scritto:
On Mon, Mar 1, 2021 at 09:37 AM, Daniele Guardigli wrote:
Yes I did, and the area selected is "full_scan". On the batch file I wrote "set PPP_CONFIG_DIR=C:/EMCtools/pppconfig", like cmd files provided as example.
 
Daniele,

a closer look shows that you have all your hvs-1 files in a /default directory as is first setup by EUMETSAT.

!!! THIS IS *VERY* BAD !!!

This way you are mixing GOES16 and GOES17 files. I didn't think someone would do such %@!!££ things.
And of course there is no common full scan area for this. There is a short time work around but you really
have to fix your reception data structures to something useful in the "cast-client-channels_hvs-1.ini" file.

Short time Work Around in GOES16.py:
...
files = []
for b in needed_files[composite]:
    files = files + glob(segdir + '/' + 'OR_ABI-*' + str(b) + '*s' + Slo + '*.nc')
...

CHANGE THAT TO:

files = []
for b in needed_files[composite]:
    files = files + glob(segdir + '/' + 'OR_ABI-*' + str(b) + '_G16_s' + Slo + '*.nc')


And make the same changes with '_G17_s'  in GOES17.py for images of this SAT.

Regards,
Ernst






--
Daniele Guardigli

Join MSG-1@groups.io to automatically receive all group messages.