ARPA SIM

Logo SIM

 

ARPA SIM

 

 

MeteosatLib
Library for the conversion of satellite data formats

 

Msat: library for satellite data manipulation and format converison

 


DESCRIPTION

Read, write, convert and display raster satellite images (also in Meteosat8 HRIT format).

Provide:
  msat can be used as a simple commandline tool allowing to:

  • Read images in HRIT, GRIB version 1, SAF HDF5 and some NetCDF based formats (COARD S compliant).
  • write images in GRIB version 1, JPG, PNG and some NetCDF based formats (COAR DS compliant).
  • Crop and scale images
  • Convert between file formats
  • Reproject satellite view data in a regular latitude longitude grid of selected resolution
  • Precisely correlate every pixel with its geographical coordinates
  • Display images

 msat [options] file(s)...
[options]:
--help Print detailed usage information.
--version Print the program version and exit.
-q, --quiet
Work silently.
--view View the contents of a file.
--dump View the contents of a file, including the pixel data.
--grib
Convert to GRIB.
--netcdf
Convert to NetCDF.
--netcdf24
Convert to NetCDF24.
--jpg Convert to JPEG.
--png Convert to PNG.
--display 
Display the image on a X11 window.
--area='x,dx,y,dy' Crop the source image(s) to the given area.
--Area='latmin,latmax,lonmin,lonmax' Crop the source image(s) to the given coordinates.
--around='lat,lon,lath,lonw'
Create an image centered at the given location and with the given width and height.
--resize npix,mpix Scale the output image to the given size.
 -R,--reproject='proj:parms' 
Reproject the image data (see below for the available projections).
valid choices: mercator - polar:central meridian:N or S   - geos[:subsat lon[:orbit radius]]  - latlon             
Formats supported are:

  •  NetCDF      Import/Export
  •  NetCDF24   Import/Export
  •  Grib            Import/Export
  •  SAFH5        Import only
  •  XRIT           Import only

Available projections are:

  •  Mercator
  •  Polar
  •  Geostationary view
  •  Regular grid

EXAMPLES

High Resolution Visible from MSG-1

High Resolution Visible (HRV) Image from SEVIRI.

The png image has been created from native HRIT SEVIRI data format:
 msat --png --Area=35,50,5,27 H:MSG1:HRV:200702130900


HRV- RGBRGB-HRV1Composit with the high Resolution Visible (HRV) Image from SEVIRI.

The png image is created from native HRIT SEVIRI data format following the standard procedure:

msat --png --Area=35,50,5,27 -resize 400,400 H:MSG1:HRV:200702130900
msat --png --Area=35,50,5,27 -resize 400,400 H:MSG1:IR_016:200702130900

and then composing the resulting images in a RGB composit by using the "convert -combine" option of ImageMagick. with R=
IR_016, G=HRV, B=HRV

DOWNLOAD

Source: Meteosatlib

 

REFERENCES 


ERMES

a cura di: Servizio IdroMeteorologico
e-mail: urpsim@arpa.emr.it
ultimo aggiornamento: 13.09.06