[gradsusr] (no subject)

Carlos Enciso Ojeda 20071058 at lamolina.edu.pe
Thu Jul 14 15:19:28 EDT 2016


Dear Jim

Your help is invaluable in improving my skills in processing information, I
really think you all your replies. This is a trend of UVI in my country and
now I must analyze it. Again, thank you so much.

[image: Imágenes integradas 2]

Best regards!

2016-07-13 16:03 GMT-05:00 James T. Potemra <jimp at hawaii.edu>:

> HI Carlos,
>
> First, you'll have to add "template" to the OPTIONS line in your control
> file:
>
> OPTIONS YREV TEMPLATE
>
> Next, your data set name looks strange to me; I believe your file names
> are of the form %y4%m2%d2 (you have an extra "m" between %y4 and %m2):
>
> DSET ^uvief%y4%m2%d2.hdf
>
> Finally the bigger issue...   There is no time dimension in the HDF
> files.  See how the XDEF and YDEF are referencing dimensions "fakeDim1" and
> "fakeDim2"; you'll need something similar for time.  You could use one of
> these same dimensions, and that should work, but I don't know what happens
> if you try and access data beyond the maximum.  For example,
>
> TDEF fakeDim0 360 linear 01jan2003 1dy
>
> should allow you to access 360 days of data.  I'm not sure what happens if
> you change the 360 to something larger than fakeDim0, e.g., 3650 to get 10
> years, but you can try and then let us know.
>
> Jim
>
> On 7/13/16 10:27 AM, Carlos Enciso Ojeda wrote:
>
> Hi James
>
> I have another trouble here, I'm trying to analyze all the data of 2016 or
> more, but my ctl has something wwrong, could you help me with this one. I
> think the problem lies on the TDEF.
>
> ******Ultraviolet_Radiation_hdf4********
> DSET ^uvief%y4m%m2%d2.hdf
> DTYPE hdfsds
> OPTIONS YREV
> TITLE Ultraviolet Radiation Index (UVI)
> UNDEF -100 _FillValue
> XDEF fakeDim1 720 LINEAR -179.75 0.5
> YDEF fakeDim0 360 LINEAR -89.75 0.5
> TDEF 194 LINEAR 01jan2016 1dy
>
> VARS 1
> Iuvfield=>uv 0 99 Ultraviolet Radiation Index UVI
> ENDVARS
>
> Thanks for your help, I really appreciate it.
>
> Best regards!
>
> 2016-07-12 19:44 GMT-05:00 Carlos Enciso Ojeda <20071058 at lamolina.edu.pe>:
>
>> Thanks a lot
>>
>> The descriptor works perfectly!
>> El jul. 12, 2016 6:48 PM, "James T. Potemra" <jimp at hawaii.edu> escribió:
>>
>>> 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 listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>
>
> _______________________________________________
> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> 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/20160714/59c49bea/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 72241 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20160714/59c49bea/attachment-0001.png 


More information about the gradsusr mailing list