<p dir="ltr">Thanks a lot</p>
<p dir="ltr">The descriptor works perfectly!</p>
<div class="gmail_quote">El jul. 12, 2016 6:48 PM, "James T. Potemra" <<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi Carlos,</p>
<p>I think you will have to specify the XDEF and YDEF based on your
file dimensions. For example, Iuvfield is a function of
"fakeDim1" and "fakeDim2", so will have to map these to XDEF and
YDEF. Since you don't have alt or time as dimensions you can
remove these. Finally, you should remove the y,x part in the
variable definition (using xdfopen to open the file). Try this
with "xdfopen":</p>
<p>DSET ^uvief20030101.hdf<br>
TITLE Ultraviolet Radiation Index (UVI)<br>
UNDEF -100 _FillValue<br>
XDEF fakeDim1 720 linear -180.0 0.5<br>
YDEF fakeDim0 360 linear -90.0 0.5<br>
VARS 1<br>
Iuvfield=>uv 0 99 Ultraviolet Radiation Index UVI<br>
ENDVARS<br>
</p>
<p><br>
</p>
<p>Jim<br>
</p>
<p> </p>
<br>
<div>On 7/12/16 10:40 AM, Carlos Enciso
Ojeda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi everybody<br>
<br>
I have some problems here, I was trying to create a descriptor
file, for a data of ultraviolet radiation which is stored in
HDF4. This is the descriptor I've used,<br>
<br>
<div>******Ultraviolet_Radiation_hdf4********</div>
<div>DSET uvief20030101.hdf</div>
<div>DTYPE hdfsds</div>
<div>TITLE Ultraviolet Radiation Index (UVI)</div>
<div>UNDEF -100 _FillValue</div>
<div>XDEF 720 linear -180.0 0.5</div>
<div>YDEF 360 linear -90.0 0.5</div>
<div>ZDEF 1 levels 1</div>
<div>TDEF 1 linear 01jan2003 1dy</div>
<div>VARS 1</div>
<div>luvfield=>uv 0 y,x Ultraviolet Radiation Index UVI</div>
<div>ENDVARS<br>
<br>
<br>
I'm sharing the file also, if anyone could explaiin me what
i'm doing wrong I really appreciate it.<br>
<br>
Best regards!<br>
<br>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div>