Re: Reading Landsaf/LSA SAF HDF5 data

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 13 2012 - 08:45:13 MST

Frank,

I downloaded the data, and tried:
ncl_filedump HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000.h5 > file.dump

Below is what in file.dump

I tried on Mac and Linux machine, both worked fine.

(Since NCL-6.1.0 is out, you may update yours and try again.)

Wei

----------------

 Copyright (C) 1995-2011 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.0.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Variable: f
Type: file
filename: HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000
path: HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000
   file global attributes:
      ARCHIVE_FACILITY : IM-PT
      ASSOCIATED_QUALITY_INFORMATION : -M-PT
      CENTRE : IM-PT
      CFAC : 13642337
      CLOUD_COVERAGE : NWC-CMa
      COFF : 308
      COMPRESSION : 0
      DISPOSITION_FLAG : OWC-CMa
      END_ORBIT_NUMBER : 0
      FIELD_TYPE : Product
      FORECAST_STEP : 0
      GRANULE_TYPE : DPoduct
      IMAGE_ACQUISITION_TIME : 20121205000000
      INSTRUMENT_ID : SEVI - - - - - - - - -
      INSTRUMENT_MODE : STATIC_VIEW - - - - - - - - -
      LFAC : 13642337
      LOFF : 1808
      NB_PARAMETERS : 4
      NC : 1701
      NL : 651
      NOMINAL_LAT : 0.3930286169052124
      NOMINAL_LONG : -0.5383626818656921
      NOMINAL_PRODUCT_TIME : 20121206000045 - - - - - - - - -
      ORBIT_TYPE : GEO21206000045 - - - - - - - - -
      OVERALL_QUALITY_FLAG : OKO21206000045 - - - - - - - - -
      PARENT_PRODUCT_NAME : DSSF SZA - - - - - - - -
      PIXEL_SIZE : 3.1Km SZA - - - - - - - -
      PROCESSING_LEVEL : 031Km SZA - - - - - - - -
      PROCESSING_MODE : N31Km SZA - - - - - - - -
      PRODUCT : DSSFm SZA - - - - - - - -
      PRODUCT_ACTUAL_SIZE : -SSFm SZA - - - - - - - -
      PRODUCT_ALGORITHM_VERSION : 0.4.1 SZA - - - - - - - -
      PRODUCT_TYPE : LSADSSF SZA - - - - - - - -
      PROJECTION_NAME : Geos<000.0> SZA - - - - - - - -
      REGION_NAME : Euro<000.0> SZA - - - - - - - -
      SAF : LSAo<000.0> SZA - - - - - - - -
      SATELLITE : MSG2 - - - - - - - - -
      SENSING_END_TIME : -SG2 - - - - - - - - -
      SENSING_START_TIME : 20121205000000 - - - - - - - - -
      SPECTRAL_CHANNEL_ID : 1871
      START_ORBIT_NUMBER : 0
      STATISTIC_TYPE : -0121205000000 - - - - - - - - -
      SUB_SATELLITE_POINT_END_LAT : 0
      SUB_SATELLITE_POINT_END_LON : 0
      SUB_SATELLITE_POINT_START_LAT : 0
      SUB_SATELLITE_POINT_START_LON : 0
      TIME_RANGE : daily205000000 - - - - - - - - -
   dimensions:
      DIM_000 = 651
      DIM_001 = 1701
   variables:
      integer DSSF ( DIM_000, DIM_001 )
         CAL_OFFSET : 999
         CAL_SLOPE : 999
         CLASS : Data
         MISSING_VALUE : -1
         NB_BYTES : 4
         N_COLS : 1701
         N_LINES : 651
         OFFSET : 0
         PRODUCT : DSSF
         PRODUCT_ID : 175
         SCALING_FACTOR : 10
         UNITS : Jm-2

      integer max_nslots_missing ( DIM_000, DIM_001 )
         CAL_OFFSET : 999
         CAL_SLOPE : 999
         CLASS : Data
         MISSING_VALUE : -1
         NB_BYTES : 4
         N_COLS : 1701
         N_LINES : 651
         OFFSET : 0
         PRODUCT : max_nslots_missing
         PRODUCT_ID : 999
         SCALING_FACTOR : 1
         UNITS : Dimensionlessssing

      integer missing_values_percent ( DIM_000, DIM_001 )
         CAL_OFFSET : 999
         CAL_SLOPE : 999
         CLASS : Datansionlessssing
         MISSING_VALUE : -1
         NB_BYTES : 4
         N_COLS : 1701
         N_LINES : 651
         OFFSET : 0
         PRODUCT : missing_values_percent
         PRODUCT_ID : 999
         SCALING_FACTOR : 100
         UNITS : Dimensionlesss_percent

      integer weight_missing_values_percent ( DIM_000, DIM_001 )
         CAL_OFFSET : 999
         CAL_SLOPE : 999
         CLASS : Datansionlesss_percent
         MISSING_VALUE : 0
         NB_BYTES : 4
         N_COLS : 1701
         N_LINES : 651
         OFFSET : 0
         PRODUCT : weight_missing_values_percent
         PRODUCT_ID : 999
         SCALING_FACTOR : 100
         UNITS : -eight_missing_values_percent

 

huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Dec 13, 2012, at 12:39 AM, Brenner Frank wrote:

> Dear readers,
>
> I am currently having some problems trying to handle Landsaf HDF5 files with NCL. I can't even open or read the data using NCL.
>
> NCL version: 6.0.0
> system: x86_64 GNU/Linux
>
> I put an example-file on your ftp server:
> /incoming/HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000.bz2
> after unzipping:
> /incoming/HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000
> (I have noticed, that NCL needs the proper file extension - you can simply add .h5, but it doesn't solve the problem).
>
> I have tried a few very simple commands, like ncl_filedump or addfile:
> >ncl_filedump HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000.h5
> >file = addfile("HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000.h5","r")
>
> The following error occurs:
> fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (HDF5_LSASAF_MSG_DIDSSF_Euro_201212050000.h5)
>
> Now my question is: Are there different types of HDF5 files (when it comes to file structuring) and could it be, that the ones from Landsaf cannot be read by NCL? Otherwise I could use some hints how to read them properly.
>
> Best regards,
> Frank
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 13 08:46:11 2012

This archive was generated by hypermail 2.1.8 : Fri Dec 21 2012 - 10:43:23 MST