See for a few messages in the MSG-1 mailing list and links to starter kits: here
A short overview on installing satpy: Installation Satpy
The adapted geo-scripts are very similar to the original ones, but they contain options for composite, area etc.
Usage
./<script>.py [-h] [-t T] [-sat SAT] [-src SRC] [-dst DST] [-o O] [-area AREA] [-composite COMPOSITE] [-v]
options: -h, --help show this help message and exit -t T time: YYYYmmDDHHMM -sat SAT RSS|IODC|FULL|1|2|3|4] -nat use native files -src SRC source dir., MUST be absolute path! -dst DST destination dir., MUST be absolute path! -o O output file -area AREA area, 'list' gives a list, 'list=Note: option '-composite list' needs also satellite data so you need to add -t option!': items containing <str> -composite COMPOSITE composite, 'list' gives a list -v [V] view
zip file | contains | comment |
---|---|---|
satpy_geo_21112022.zip | MSGx.py, HIMAx.py, GOESx.py, MTGx.py | support swath, YYYY/mm/DD dir. structure |
Note MTGx.py: Test version. For date/time option -t: use for minutes 00, 10, 20, .. 50
Updated 14-11-2022: satpy_functions_14112022.zip, satpy_settings.py
zip file | contains | comment |
---|---|---|
satpy_leo_02122022.zip | Metop.py, AquaTerra.py, FY3D.py, NOAA.py, Sentinel3.py | support swath, YYYY/mm/DD dir. structure |
satpy_functions_02122022.zip | satpy_areas.py satpy_common.py | functions needed by the leo scripts |
satpy_settings.py | Settings needed for LEO scripts | also contains satpy dir. structure (Linux/Windows switch auto) |
Usage
./<script>.py [-h] [-t T] [-sat SAT] [-src SRC] [-dst DST] [-sp SP] [-fl FL] [-o O] [-area AREA] [-composite COMPOSITE] [-tle TLE] [-histtle] [-v] [-dry]
options: -h, --help show this help message and exit -t T time: YYYYmmDD -sat SAT A[D|N]] | B[D|N] | C[D|N] | X[D|N]] :X=B+C, D=Day, N=Night -src SRC source dir., MUST be absolute path! -dst DST destination dir. -sp [SP] stacked pass -fl FL file with list of files -o O output file -area AREA area, 'list' gives a list -composite COMPOSITE composite, 'list' gives a list -tle TLE tle file, must contain tle elements of used satellite -histtle [HISTTLE] get historical tle from spacetrack -v [V] start viewer; -vNote that these scripts all support day/night and stacked, in all combinations.: specify viewer -dry [DRY] dry run; -dry f: show used files only for Metop: -sat SAT A[D|N]] | B[D|N] | C[D|N]] | X[D|N] : X=B+C, D=Day, N=Night for NOAA: -sat SAT N20[D|N]] | SUO[D|N] : D=Day, N=Night; SUO=Suomi, N20=NOAA20 for Aqua/Terra: -sat SAT A[D|N]] | T[D|N]: A=Aqua, T=Terra, D=Day, N=Night for Sentinel: -sat SAT A[D|N]] | B[D|N] | X[D|N] : X=A+B, D=Day, N=Night
[configuration] username = <username> password = <password>Put this file in directory toodrp + '/EMCtools/pppconfig'
python3 Metop.py -t 20220324 -dry dry run, show settings (in this case: the defaults) python3 Metop.py -t 20220324 -dry f dry run, show also files selected python3 Metop.py -t 20220324 -sat BD use Metop-B, day pass python3 Metop.py -t 20220324 -sat BD -area westminster same, choose area python3 Metop.py -t 20220324 -sat BD -composite overview same, choose composite python3 Metop.py -t 20220324 -sat XN use combined Metop-B and C, night pass python3 Metop.py -t 20220324 -sat BD -sp use Metop-B multiple passes python3 Metop.py -t 20220324 -sat BD -src C:\aaa\bbb use source files in this location python3 Metop.py -t 20220324 -sat BD -dst C: location of output file python3 Metop.py -t 20220324 -sat BD -o anc.jpg name output file python3 Metop.py -t 20220324 -sat BD -tle C:\weathet.txt TLE location and file python3 Metop.py -t 20150324 -sat BD -histtle get/use tle from spacetrack python3 Metop.py -sat BD -fl filelist.txt Use files in filelist instead of collected items by date (no -t option)
Note: You can specify codec, default is DIVX. For some reason WebM (VP09) doesn't work.
Running this script will create a movie and update it while MSG data is coming in.
Uses MSGx.py and movie_funcs.py
Needs: conda install watchdog (use pip if you don't use conda)
At the top of this file, specify:
Updated 03-01-2023
This selector is a simple gui using above scripts (both GEO and LEO)You need also:
You must add locations of your raw files into satpy_settings.py. Selecting one of those file locations will be done using an argument at start, e.g.:python3 satpy_selector.py msgSelection may also be done in the gui.
This gives the gui: (geo and leo)
Now:
satpy_selector.py contains 2 lists of satellites including the command to execute them:
satpy_selector.py uses lists defined in satpy_settings.py: