[ncl-talk] convert grd to nc

Amy Hendricks ashendricks at alaska.edu
Tue May 22 19:05:14 MDT 2018


Hell NCL heroes,

I am trying to read in ndvi data in .grd format and convert to netcdf. The
problem occurs when I go to read in the ndvi data. This script is modified
from grads_2.ncl (https://www.ncl.ucar.edu/Applications/Scripts/grads_2.ncl).
Please find attached the script, data, and ctl file. The ctl file is an
example from my advisor, only the DSET and # of years are different.

Thanks!

Amy​
 ndvip.ctl
<https://drive.google.com/a/alaska.edu/file/d/1gfTy4cedHoVucV-YEan0Ph7NES9FfsMM/view?usp=drive_web>
​​
 polar_82-17_MaxNDVI3g.grd
<https://drive.google.com/a/alaska.edu/file/d/1DNzWno-3WmFqINZBY-ENH7nnMn0lsGvf/view?usp=drive_web>
​

-- 
Amy Hendricks
Graduate Research Assistant
Department of Atmospheric Sciences
University of Alaska Fairbanks
IARC 343-R
907-388-9893
ashendricks at alaska.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180522/92465b9a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndvi2netcdf.ncl
Type: application/octet-stream
Size: 4490 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180522/92465b9a/attachment.obj>


More information about the ncl-talk mailing list