--
You received this message because you are subscribed to the Google Groups "pytroll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytroll+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pytroll/10911491-a6cd-4b16-a8fb-4d933fe6d88an%40googlegroups.com.
Graham,
Satpy can read these files! So, since you are here, why not use Pytroll libraries?
from satpy import Scene
from satpy.utils import debug_on
debug_on()
SST_FILES =
["/path/to/your/SST/file/S-OSI_-FRA_-MTOP-NARSST_FIELD-202204061000Z.nc"]
scn = Scene(filenames=SST_FILES, reader='ghrsst_l2')
scn.load(['sea_surface_temperature'])
# Here we resample to the area "euron1", but you can take any
area already defined in the "areas.yaml" file
local_scn = scn.resample('euron1')
local_scn.show('sea_surface_temperature')
-Adam
To view this discussion on the web, visit https://groups.google.com/d/msgid/pytroll/18047abc-3ebc-43c8-b4f0-61ef53c92650n%40googlegroups.com.
-- Adam Dybbroe, Satellite Remote Sensing Scientist Research lead - Nowcasting and Remote Sensing Meteorological Research unit, Research and Development Swedish Meteorological and Hydrological Institute (SMHI) www.pytroll.org nwcsaf.smhi.se www.smhi.se
The reader is supposed to handle the GHRSST netCDF format, and I know it reads the OSISAF NAR SSTs (Metop and JPSS) and also the SLSTR SSTs.
I haven't tried it myself on the Sea Ice parameters. But as you can see it at least reads the Sea Ice fraction which is part of the SST files:
In [3]: scn.available_dataset_names()
Out[3]:
['latitude_osisaf',
'longitude_osisaf',
'sea_ice_fraction',
'sea_surface_temperature']
Good luck!
-Adam
To view this discussion on the web, visit https://groups.google.com/d/msgid/pytroll/3b436957-776f-4d2e-97ed-a6ffba9011afn%40googlegroups.com.