Re: ncl 6.1.0 can not read OMI surface reflectance climatology data.

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 07 2012 - 09:17:53 MST

Bruce,

While we are check the problems to read this file as he5.
You may try read this file as h5, and do some of your work.
It may not be as convenient as he5, but give you some accessibility to this file.

Below is a sample script which can read some variables from this file as h5.

Wei

---------
 f = addfile("OMI-Aura_L3-OMLER_2005m01-2009m12_v003-2010m0503t063707.he5.h5", "r")

;print(f)

; dimensions:
; DIM_000 = 360
; DIM_001 = 720
; DIM_002 = 23
; DIM_003 = 12

; group </HDFEOS/GRIDS/EarthSurfaceReflectanceClimatology/Data Fields>
; float Latitude ( DIM_000 )
; float Longitude ( DIM_001 )
; short MonthlyMinimumSurfaceReflectance ( DIM_003, DIM_002, DIM_000, DIM_001 )
; short MonthlySurfaceReflectance ( DIM_003, DIM_002, DIM_000, DIM_001 )
; ubyte MonthlySurfaceReflectanceFlag ( DIM_003, DIM_000, DIM_001 )
; float Wavelength ( DIM_002 )
; short YearlyMinimumSurfaceReflectance ( DIM_002, DIM_000, DIM_001 )
; short YearlySurfaceReflectance ( DIM_002, DIM_000, DIM_001 )
; ubyte YearlySurfaceReflectanceFlag ( DIM_000, DIM_001 )

 grpname = "/HDFEOS/GRIDS/EarthSurfaceReflectanceClimatology/Data Fields"
 grp = f=>$grpname$

 lat = grp->Latitude
 lon = grp->Longitude

 printVarSummary(lat)
 printVarSummary(lon)

 MonthlyMinimumSurfaceReflectance = grp->MonthlyMinimumSurfaceReflectance

 printVarSummary(MonthlyMinimumSurfaceReflectance)

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 Nov 7, 2012, at 8:06 AM, zhifeng yang wrote:

> Hi
>
> Can you read the following .he5 file using ncl? I am using ncl 6.1.0
> to read it and also use ncl_filedump to open it. The error is as
> following
>
> [bruce@glory omi]$ ncl_filedump -c
> OMI-Aura_L3-OMLER_2005m01-2009m12_v003-2010m0503t063707.he5
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> Segmentation fault
>
> You can download this data from the website below.
> http://mirador.gsfc.nasa.gov/cgi-bin/mirador/collectionlist.pl?keyword=omler
>
> Thank you
>
> Bruce
> _______________________________________________
> 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 Wed Nov 7 09:18:11 2012

This archive was generated by hypermail 2.1.8 : Tue Nov 13 2012 - 14:27:24 MST