Re: HOW TO VIEW OCEANSAT HDF5 FILES USING NCL

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu May 24 2012 - 14:28:50 MDT

Please send *all* NCL related questions to ncl-talk@ucar.edu
You can subscribe at:
     http://www.ncl.ucar.edu/Support/email_lists.shtml
===========================================================
I will no longer answer emails sent directly to me.
===========================================================

The attached script can be used to read and plot.
NCL 6.0.0 can read this h5 file.

%> ncl_filedump S1L2B2012144_14106_14107.h5 | less

  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: S1L2B2012144_14106_14107
path: S1L2B2012144_14106_14107.h5
    file global attributes:
    dimensions:
       DIM_000 = 860
       DIM_001 = 36
       DIM_002 = 6
       DIM_003 = 1
    variables:
       group </science_data>

          Cost Function Scale : 0.001000
          Data Format Type : NCSA-HDF
          Data Format Version : HDF5.1.6.4
          Ephemeris Type : ECEF
          Equator Crossing Date : 2012-144T00:49:00.292
          Equator Crossing Longitude : 166.786
          L2B actual WVC cells : 36
          L2B actual WVC rows : 816
          Latitude Scale : 0.010
          Longitude Scale : 0.010
          Model Direction Scale : 0.010000
          Model Latency Hour : 11249
          Model Speed Scale : 0.010000
          Orbit Eccentricity : 0.001130
          Orbit Inclination : 98.280
          Orbit Period : 99.942
          Orbit Semi-major Axis : 7098.137
          Organization Name : ISRO-DOS
          Processor Version : 1.3
          Product Identification : Scatterometer L2B Product
containing flagged wind vectors in swath grid

          Production Date : 2012-144T10:07:38.000
          Range Beginning Date : 2012-144T00:23:53.600
          Range Ending Date : 2012-144T02:03:50.144
          Revolution Number : 14106_14107
          Satellite Name : Oceansat-2
          Sensor Name : Scatterometer
          Skip Start Time : 2012-144T01:58:49.713

          Skip Stop Time : 2012-144T01:59:01.427

          WVC Size : 50.000jjj
          Wind Direction Scale : 0.010000
          Wind Direction Selection Scale : 0.010000
          Wind Speed Scale : 0.010000
          Wind Speed Selection Scale : 0.010000

       ushort Cost_function ( DIM_000, DIM_001, DIM_002 )

       ushort Cost_function_selection ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 4304 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       short Latitude ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( -6492, 8226 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       ushort Longitude ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 35997 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       ushort Model_direction ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 0 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       short Model_speed ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 0 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       byte Number_of_ambiguities ( DIM_000, DIM_001 )

       ushort Row_index ( DIM_000 )
          IMAGE_MINMAXRANGE : ( 0, 859 )

       ushort WVC_quality_flag ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 12547 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       string WVC_row_time ( DIM_003, DIM_000 )

       byte WVC_selection ( DIM_000, DIM_001 )

       ushort Wind_direction ( DIM_000, DIM_001, DIM_002 )

       ushort Wind_direction_selection ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 35996 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

       short Wind_speed ( DIM_000, DIM_001, DIM_002 )

       short Wind_speed_selection ( DIM_000, DIM_001 )
          CLASS : IMAGE
          IMAGE_MINMAXRANGE : ( 0, 3013 )
          IMAGE_SUBCLASS : IMAGE_GRAYSCALE

On 5/23/12 10:56 PM, rekha bharali wrote:
> Dear Sir,
>
> I am trying to view a oceansat data file which is in HDF5 format. But I
> could not do so. Kindly help me in finding out a solution .
> I am also attaching the sample file with it.
>
> With regards
>
> .............................................................
> Rekha Bharali Gogoi
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Thu May 24 14:29:08 2012

This archive was generated by hypermail 2.1.8 : Fri May 25 2012 - 08:35:50 MDT