<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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=&gt;uv 0 99 Ultraviolet Radiation Index UVI<br>
      ENDVARS<br>
    </p>
    <p><br>
    </p>
    <p>Jim<br>
    </p>
    <p> </p>
    <br>
    <div class="moz-cite-prefix">On 7/12/16 10:40 AM, Carlos Enciso
      Ojeda wrote:<br>
    </div>
    <blockquote
cite="mid:CAE39umi+HTPcjCYww7ZCJhr-x6XweFS4ohhMSK+0oVrsNf-pkQ@mail.gmail.com"
      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=&gt;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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>