<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Jul 18, 2006, at 1:06 PM, Marco Jusevicius wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> Hi Don.<BR> <BR> Previously, I've tried to set the parameter Local_Hour as z coordinate instead of t coordinate but it does not works as well. After that, i just forgot to modify that value again.<BR> <BR> Now I tried again with this file:<BR> <BR> DSET ^/home/marco/lis/dados/LISOTD_LRDC_v1.0.hdf<BR> TITLE Teste de leitura de hdf<BR> XDEF Longitude 144 LINEAR -178.75 2.5<BR> YDEF Latitude 72 LINEAR -88.75 2.5<BR> TDEF Local_Hour 24 LINEAR 00Z01JAN1996 1hr<BR> vars 1<BR> LRDC_COM_FR=>flrt 1 99 Combined Flash Rate Climatology<BR></BLOCKQUOTE>Marco,</DIV><DIV>Change the 1 to 0 in the number of levels field in the variable declaration and see if that helps...</DIV><DIV>Jennifer</DIV><DIV><BR><BLOCKQUOTE type="cite"> endvars<BR> <BR> and I had the same error that I wrote yestersday.<BR> <BR> Marco.<BR> <BR> <BR> Don Hooper wrote: <BLOCKQUOTE cite="mid200607172137.k6HLbkVU018392@spot.colorado.edu" type="cite"> <PRE wrap="">Marco Jusevicius,
Why does your variable record (between "VARS" and "ENDVARS") say that
the data variable has 24 levels?
-Hoop
</PRE> <BLOCKQUOTE type="cite"> <PRE wrap="">From <A class="moz-txt-link-abbreviated" href="mailto:owner-gradsusr@LIST.CINECA.IT">owner-gradsusr@LIST.CINECA.IT</A> Mon Jul 17 15:25:34 2006
From: Marco Jusevicius <A class="moz-txt-link-rfc2396E" href="mailto:marco@SIMEPAR.BR"><marco@SIMEPAR.BR></A>
Hi everybody.
I'm trying to open an hdf file using xdfopen.
I've tried to follow the instructions but it doesn't works.
The results were:
gradshdf
Grid Analysis and Display System (GrADS) Version 1.8SL11
Copyright (c) 1988-2001 by Brian Doty
Center for Ocean-Land-Atmosphere Studies
Institute for Global Environment and Society
All Rights Reserved
Config: v1.8SL11 32-bit little-endian readline sdf/xdf hdf-sds lats
printim
Issue 'q config' command for more information.
Landscape mode? (no for portrait):
GX Package Initialization: Size = 11 8.5
ga-> xdfopen le_LRDC.ctl
Scanning Descriptor File: le_LRDC.ctl
udunits(3): syntax error:
-
^
udunits(3): syntax error:
-
^
Alleged time dimension (from TDEF) is not an SDF dimension. Cannot continue.
Time dimension name is:
Local_Hour
.
Data file /home/marco/lis/dados/LISOTD_LRDC_v1.0.hdf was not successfully
opened & parsed
My ctl file :
DSET ^/home/marco/lis/dados/LISOTD_LRDC_v1.0.hdf
TITLE Teste de leitura de hdf
XDEF Longitude 144 LINEAR -178.75 2.5
YDEF Latitude 72 LINEAR -88.75 2.5
TDEF Local_Hour 24 LINEAR 00Z01JAN1996 1hr
vars 1
LRDC_COM_FR=>flrt 24 99 Combined Flash Rate Climatology
endvars
The result of hdf ncdump applied to the hdf file :
netcdf LISOTD_LRDC_v1.0 {
dimensions:
Latitude = 72 ;
Longitude = 144 ;
Local_Hour = 24 ;
DE_By_Threshold = 3 ;
DE_Local_Hour = 24 ;
DE_Latitude = 72 ;
DE_Longitude = 144 ;
variables:
float LRDC_COM_FR(Latitude, Longitude, Local_Hour) ;
LRDC_COM_FR:valid_range = 0.f, 0.023581842f ;
LRDC_COM_FR:long_name = "Combined Flash Rate Climatology" ;
LRDC_COM_FR:units = "Flashes/km^2/hour" ;
LRDC_COM_FR:_FillValue = 0.f ;
.....
data:
Local_Hour = 0.5 , 1.5 , 2.5 , 3.5 , 4.5 , 5.5 , 6.5 , 7.5 , 8.5 , 9.5 ,
10.5 , 11.5 , 12.5 , 13.5 , 14.5 , 15.5 , 16.5 , 17.5 , 18.5 , 19.5 ,
20.5 , 21.5 , 22.5 , 23.5 ;
Any ideas about these problems?
Thanks in advance.
Marco Jusevicius
SIMEPAR - Brazil
</PRE> </BLOCKQUOTE> <PRE wrap=""> </PRE> </BLOCKQUOTE> <BR> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Jennifer M. Adams</DIV><DIV>IGES/COLA</DIV><DIV>4041 Powder Mill Road, Suite 302</DIV><DIV>Beltsville, MD 20705</DIV><DIV><A href="mailto:jma@cola.iges.org">jma@cola.iges.org</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>