[Gdal-dev] Read and convert MSG2 hrit data with GDAL-MSG DRIVER

APOSTOLOS agiannas at geo.auth.gr
Thu Apr 9 09:03:38 EDT 2009




Dear list 

>From the gdal_translate command the MSG DRIVER reads only MSGN native. Does anyone know even if i have made the configure command and instaled the MSG DRIVER  why i can;t import HRIT wHEN I try to run the procedure? it gives me 

tolis at ubuntu:~/gdal-1.6.0$ gdal_translate -of HFA '/home/tolis/H-000-MSG2__-MSG2________-IR_087___-000007___-200802280000-C_' /home/tolis/Desktop/out_hrit.img
ERROR 4: `/home/tolis/H-000-MSG2__-MSG2________-IR_087___-000007___-200802280000-C_' not recognised as a supported file format.

GDALOpen failed - 4
`/home/tolis/H-000-MSG2__-MSG2________-IR_087___-000007___-200802280000-C_' not recognised as a supported file format.


in case someone else wants it the gdal_translate command to convert to img from MSG .nat files is 

tolis at ubuntu:~$ gdal_translate -of HFA '/home/tolis/Desktop/2003/06/05/MSG1-SEVI-MSG15-0100-NA-20050919001240.662000000Z-596358.nat' /home/tolis/Desktop/OUTPUT.img
Input file size is 1504, 1052
0...10...20...30...40...50...60...70...80...90...100 - done.


tolis at ubuntu:~/gdal-1.6.0$ gdal_translate --formats
Supported Formats:
  VRT (rw+): Virtual Raster
  GTiff (rw+): GeoTIFF
  NITF (rw+): National Imagery Transmission Format
  RPFTOC (ro): Raster Product Format TOC format
  HFA (rw+): Erdas Imagine Images (.img)
  SAR_CEOS (ro): CEOS SAR Image
  CEOS (ro): CEOS Image
  JAXAPALSAR (ro): JAXA PALSAR Product Reader (Level 1.1/1.5)
  GFF (ro): Ground-based SAR Applications Testbed File Format (.gff)
  ELAS (rw+): ELAS
  AIG (ro): Arc/Info Binary Grid
  AAIGrid (rw): Arc/Info ASCII Grid
  SDTS (ro): SDTS Raster
  DTED (rw): DTED Elevation Raster
  PNG (rw): Portable Network Graphics
  JPEG (rw): JPEG JFIF
  MEM (rw+): In Memory Raster
  JDEM (ro): Japanese DEM (.mem)
  GIF (rw): Graphics Interchange Format (.gif)
  ESAT (ro): Envisat Image Format
  BSB (ro): Maptech BSB Nautical Charts
  XPM (rw): X11 PixMap Format
  BMP (rw+): MS Windows Device Independent Bitmap
  DIMAP (ro): SPOT DIMAP
  AirSAR (ro): AirSAR Polarimetric Image
  RS2 (ro): RadarSat 2 XML Product
  PCIDSK (rw+): PCIDSK Database File
  PCRaster (rw): PCRaster Raster File
  ILWIS (rw+): ILWIS Raster Map
  SGI (rw+): SGI Image File Format 1.0
  SRTMHGT (rw): SRTMHGT File Format
  Leveller (rw+): Leveller heightfield
  Terragen (rw+): Terragen heightfield
  GMT (rw): GMT NetCDF Grid Format
  netCDF (rw): Network Common Data Format
  HDF4 (ro): Hierarchical Data Format Release 4
  HDF4Image (rw+): HDF4 Dataset
  ISIS3 (ro): USGS Astrogeology ISIS cube (Version 3)
  ISIS2 (ro): USGS Astrogeology ISIS cube (Version 2)
  PDS (ro): NASA Planetary Data System
  ERS (rw+): ERMapper .ers Labelled
  JPEG2000 (rw): JPEG-2000 part 1 (ISO/IEC 15444-1)
  L1B (ro): NOAA Polar Orbiter Level 1b Data Set
  FIT (rw): FIT Image
  GRIB (ro): GRIdded Binary (.grb)
  RMF (rw+): Raster Matrix Format
  WCS (ro): OGC Web Coverage Service
  WMS (ro): OGC Web Map Service
<MSGN (ro): EUMETSAT Archive native (.nat)
  RST (rw+): Idrisi Raster A.1
  INGR (rw+): Intergraph Raster
  GSAG (rw): Golden Software ASCII Grid (.grd)
  GSBG (rw+): Golden Software Binary Grid (.grd)
  GS7BG (ro): Golden Software 7 Binary Grid (.grd)
  COSAR (ro): COSAR Annotated Binary Matrix (TerraSAR-X)
  TSX (ro): TerraSAR-X Product
  COASP (ro): DRDC COASP SAR Processor Raster
  PNM (rw+): Portable Pixmap Format (netpbm)
  DOQ1 (ro): USGS DOQ (Old Style)
  DOQ2 (ro): USGS DOQ (New Style)
  ENVI (rw+): ENVI .hdr Labelled
  EHdr (rw+): ESRI .hdr Labelled
  GenBin (ro): Generic Binary (.hdr Labelled)
  PAux (rw+): PCI .aux Labelled
  MFF (rw+): Vexcel MFF Raster
  MFF2 (rw+): Vexcel MFF2 (HKV) Raster
  FujiBAS (ro): Fuji BAS Scanner Image
  GSC (ro): GSC Geogrid
  FAST (ro): EOSAT FAST Format
  BT (rw+): VTP .bt (Binary Terrain) 1.3 Format
  LAN (ro): Erdas .LAN/.GIS
  CPG (ro): Convair PolGASP
  IDA (rw+): Image Data and Analysis
  NDF (ro): NLAPS Data Format
  EIR (ro): Erdas Imagine Raw
  DIPEx (ro): DIPEx
  LCP (ro): FARSITE v.4 Landscape File (.lcp)
  RIK (ro): Swedish Grid RIK (.rik)
  USGSDEM (rw): USGS Optional ASCII DEM (and CDED)
  GXF (ro): GeoSoft Grid Exchange Format
  HTTP (ro): HTTP Fetching Wrapper
  HDF5 (ro): Hierarchical Data Format Release 5
  HDF5Image (ro): HDF5 Dataset
  ADRG (rw+): ARC Digitized Raster Graphics
  BLX (rw): Magellan topo (.blx)





Dear list 

First all i would like to thank all the people in the list answered my questions. I finally managed to install MSG DRIVER but i have some questions about how to import and convert HRIT MSG2 images with GDAL 

I followed the example of the instructions from http://www.gdal.org/frmt_msg.html but i did not manage  to convert HRIT to tif. 

My code bellow 

gdal_translate -of MSG(/home/tolis/Desktop/2003/06/05/H-000-MSG2__-MSG2_PAR____-WV_062___-000001___-200802281200-C_) /home/tolis/Desktop/output/outfile.tif
bash: syntax error near unexpected token `('
tolis at ubuntu:~/gdal-1.6.0$ 

Any suggestions what i am doing wrong?   Also what i realy want is to convert MSG2 HRIT thermal bands  for segments 7 and 8 to images to brightness temperatures. Because i have 96 images per day is there any batch process for this kind of procedure?
Does GDAL support this procedure?

Thanks in advance for your time







-- 
View this message in context: http://n2.nabble.com/Read-and-convert-MSG2-hrit-data-with-GDAL-MSG-DRIVER-tp2609915p2610947.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.



More information about the gdal-dev mailing list