Page 1 of 1
python sst MODIS
Posted: Mon Jun 10, 2019 11:29 am America/New_York
by giannismac
Hallo
I would like to write code in python which takes as input (.nc) files from Level 2 MODIS parameter sst and converts them into geotiff. Do you know where i can find something like that?
Thank you in advance.
python sst MODIS
Posted: Mon Jun 10, 2019 1:59 pm America/New_York
by OB SeaDAS - dshea
Actually we supply a python script that takes an L2 file and outputs an image in any projection the proj4 can create. It can also output in many file formats including geottiff.
Check out $OCSSWROOT/scripts/l2mapgen.py
don
python sst MODIS
Posted: Tue Jun 11, 2019 4:49 am America/New_York
by giannismac
How can i see that ? from where? I want to run the script directly in python and not from any external programm.
python sst MODIS
Posted: Tue Jun 11, 2019 5:05 am America/New_York
by gnwiii
Don mentioned the OCSSW script "
l2mapgen.py
" If you have access to linux or MacOS you can install the OCSSW software from the SeaDAS GUI. If not you may want to consider beampy (look in
<SeaDAS_install_dir>\modules\beam-python-5.0.5-SNAPSHOT
) or the newer "snappy" from
ESA SNAP.