[gradsusr] (no subject)
James T. Potemra
jimp at hawaii.edu
Tue Jul 12 19:37:41 EDT 2016
Hi Carlos,
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":
DSET ^uvief20030101.hdf
TITLE Ultraviolet Radiation Index (UVI)
UNDEF -100 _FillValue
XDEF fakeDim1 720 linear -180.0 0.5
YDEF fakeDim0 360 linear -90.0 0.5
VARS 1
Iuvfield=>uv 0 99 Ultraviolet Radiation Index UVI
ENDVARS
Jim
On 7/12/16 10:40 AM, Carlos Enciso Ojeda wrote:
> Hi everybody
>
> 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,
>
> ******Ultraviolet_Radiation_hdf4********
> DSET uvief20030101.hdf
> DTYPE hdfsds
> TITLE Ultraviolet Radiation Index (UVI)
> UNDEF -100 _FillValue
> XDEF 720 linear -180.0 0.5
> YDEF 360 linear -90.0 0.5
> ZDEF 1 levels 1
> TDEF 1 linear 01jan2003 1dy
> VARS 1
> luvfield=>uv 0 y,x Ultraviolet Radiation Index UVI
> ENDVARS
>
>
> I'm sharing the file also, if anyone could explaiin me what i'm doing
> wrong I really appreciate it.
>
> Best regards!
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160712/38dba724/attachment.html
More information about the gradsusr
mailing list