<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
>From the doc page on descriptor file elements: <br>
Use varname alias: SDF_varname=>grads_varname <br>
If the SDF_varname contains spaces, substitute "~" for each space -- the spaces in the variable name string will be swapped back in later after the descriptor file has been parsed.<br>
--Jennifer<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of M.Mahakur <mmahakur@tropmet.res.in><br>
<b>Sent:</b> Tuesday, June 13, 2023 12:28 PM<br>
<b>To:</b> GrADS Users Forum <gradsusr@gradsusr.org><br>
<b>Subject:</b> [gradsusr] hdf-eos2 ctl file?</font>
<div> </div>
</div>
<div>
<div style="font-family:arial,helvetica,sans-serif; font-size:12pt; color:#000000">
<div>
<div>Dear All,</div>
<div><br data-mce-bogus="1">
</div>
<div>I gets something like below from the hdf file using ncdump of hdf4 binaries. The variable names consist of few words with spaces. Can someone suggest how to create a ctl file. I remembers I had used these files long back; I forgot how I did!</div>
<div><br data-mce-bogus="1">
</div>
<div><br>
</div>
<div>netcdf MOD13C1.A2000049.006.2015147153445 {</div>
<div>dimensions:</div>
<div>        YDim:MODIS_Grid_16Day_VI_CMG = 3600 ;</div>
<div>        XDim:MODIS_Grid_16Day_VI_CMG = 7200 ;</div>
<div><br>
</div>
<div>variables:</div>
<div>        short CMG 0.05 Deg 16 days NDVI(YDim:MODIS_Grid_16Day_VI_CMG, XDim:MODIS_Grid_16Day_VI_CMG) ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:long_name = "CMG 0.05 Deg 16 days NDVI" ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:units = "NDVI" ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:valid_range = -2000s, 10000s ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:_FillValue = -3000s ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:scale_factor = 10000. ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:scale_factor_err = 0. ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:add_offset = 0. ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:add_offset_err = 0. ;</div>
<div>                CMG 0.05 Deg 16 days NDVI:calibrated_nt = 5 ;</div>
</div>
<div><br>
</div>
<div data-marker="__SIG_PRE__">
<div>Thnaks and Regards,</div>
<div>Mahakur</div>
<div><br data-mce-bogus="1">
</div>
</div>
</div>
</div>
</body>
</html>