<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Don.<br>
<br>
That's the ncdump results of data file...<br>
<br>
ncdump output:<br>
<br>
netcdf LISOTD_LRDC_v1.0 {<br>
dimensions:<br>
Latitude = 72 ;<br>
Longitude = 144 ;<br>
Local_Hour = 24 ;<br>
DE_By_Threshold = 3 ;<br>
DE_Local_Hour = 24 ;<br>
DE_Latitude = 72 ;<br>
DE_Longitude = 144 ;<br>
<br>
variables:<br>
float LRDC_COM_FR(Latitude, Longitude, Local_Hour) ;<br>
LRDC_COM_FR:valid_range = 0.f, 0.023581842f ;<br>
LRDC_COM_FR:long_name = "Combined Flash Rate
Climatology" ;<br>
LRDC_COM_FR:units = "Flashes/km^2/hour" ;<br>
LRDC_COM_FR:_FillValue = 0.f ;<br>
float Local_Hour(Local_Hour) ;<br>
Local_Hour:long_name = "Local Hour" ;<br>
Local_Hour:units = "Hour" ;<br>
float Longitude(Longitude) ;<br>
Longitude:long_name = "Longitude" ;<br>
Longitude:units = "Degrees" ;<br>
float Latitude(Latitude) ;<br>
Latitude:long_name = "Latitude" ;<br>
Latitude:units = "Degrees" ;<br>
<br>
......<br>
data:<br>
<br>
Local_Hour = 0.5 , 1.5 , 2.5 , 3.5 , 4.5 , 5.5 , 6.5 , 7.5 , 8.5 , 9.5
,<br>
10.5 , 11.5 , 12.5 , 13.5 , 14.5 , 15.5 , 16.5 , 17.5 , 18.5 , 19.5
,<br>
20.5 , 21.5 , 22.5 , 23.5 ;<br>
<br>
Longitude = -178.75 , -176.25 , -173.75 , -171.25 , -168.75 , -166.25 ,<br>
-163.75 , -161.25 , -158.75 , -156.25 , -153.75 , -151.25 , -148.75
,<br>
-146.25 , -143.75 , -141.25 , -138.75 , -136.25 , -133.75 , -131.25
,<br>
-128.75 , -126.25 , -123.75 , -121.25 , -118.75 , -116.25 , -113.75
,<br>
-111.25 , -108.75 , -106.25 , -103.75 , -101.25 , -98.75 , -96.25 ,<br>
-93.75 , -91.25 , -88.75 , -86.25 , -83.75 , -81.25 , -78.75 ,
-76.25 ,<br>
-73.75 , -71.25 , -68.75 , -66.25 , -63.75 , -61.25 , -58.75 ,
-56.25 ,<br>
-53.75 , -51.25 , -48.75 , -46.25 , -43.75 , -41.25 , -38.75 ,
-36.25 ,<br>
-33.75 , -31.25 , -28.75 , -26.25 , -23.75 , -21.25 , -18.75 ,
-16.25 ,<br>
-13.75 , -11.25 , -8.75 , -6.25 , -3.75 , -1.25 , 1.25 , 3.75 ,
6.25 ,<br>
8.75 , 11.25 , 13.75 , 16.25 , 18.75 , 21.25 , 23.75 , 26.25 ,
28.75 ,<br>
31.25 , 33.75 , 36.25 , 38.75 , 41.25 , 43.75 , 46.25 , 48.75 ,
51.25 ,<br>
53.75 , 56.25 , 58.75 , 61.25 , 63.75 , 66.25 , 68.75 , 71.25 ,
73.75 ,<br>
76.25 , 78.75 , 81.25 , 83.75 , 86.25 , 88.75 , 91.25 , 93.75 ,
96.25 ,<br>
98.75 , 101.25 , 103.75 , 106.25 , 108.75 , 111.25 , 113.75 ,
116.25 ,<br>
118.75 , 121.25 , 123.75 , 126.25 , 128.75 , 131.25 , 133.75 ,
136.25 , <br>
138.75 , 141.25 , 143.75 , 146.25 , 148.75 , 151.25 , 153.75 ,
156.25 ,<br>
158.75 , 161.25 , 163.75 , 166.25 , 168.75 , 171.25 , 173.75 ,
176.25 ,<br>
178.75 ;<br>
<br>
Latitude = -88.75 , -86.25 , -83.75 , -81.25 , -78.75 , -76.25 ,
-73.75 ,<br>
-71.25 , -68.75 , -66.25 , -63.75 , -61.25 , -58.75 , -56.25 ,
-53.75 ,<br>
-51.25 , -48.75 , -46.25 , -43.75 , -41.25 , -38.75 , -36.25 ,
-33.75 ,<br>
-31.25 , -28.75 , -26.25 , -23.75 , -21.25 , -18.75 , -16.25 ,
-13.75 ,<br>
-11.25 , -8.75 , -6.25 , -3.75 , -1.25 , 1.25 , 3.75 , 6.25 , 8.75 ,<br>
11.25 , 13.75 , 16.25 , 18.75 , 21.25 , 23.75 , 26.25 , 28.75 ,
31.25 ,<br>
33.75 , 36.25 , 38.75 , 41.25 , 43.75 , 46.25 , 48.75 , 51.25 ,
53.75 ,<br>
56.25 , 58.75 , 61.25 , 63.75 , 66.25 , 68.75 , 71.25 , 73.75 ,
76.25 ,<br>
78.75 , 81.25 , 83.75 , 86.25 , 88.75 ;<br>
<br>
Thanks.<br>
<br>
Marco.<br>
<br>
<br>
Don Hooper wrote:
<blockquote cite="mid200607181738.k6IHcEOe021186@spot.colorado.edu"
type="cite">
<pre wrap="">Marco Jusevicius,
I missed something in your original post the first time: the complaint
from udunits about syntax. Please show the HDF-style ncdump output for
the Local_Hour variable. I need to see the value of the units attribute
for it.
Thanks,
-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> Tue Jul 18 11:06:45 2006
From: Marco Jusevicius <a class="moz-txt-link-rfc2396E" href="mailto:marco@SIMEPAR.BR"><marco@SIMEPAR.BR></a>
Hi Don.
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.
Now I tried again with this 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 1 99 Combined Flash Rate Climatology
endvars
and I had the same error that I wrote yestersday.
Marco.
Don Hooper wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Marco Jusevicius,
Why does your variable record (between "VARS" and "ENDVARS") say that
the data variable has 24 levels?
-Hoop
>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
</pre>
<blockquote type="cite">
<pre wrap="">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>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>