[gradsusr] Control file for nc file from CMIP5

syairah atiqah atiq syairahatiqah at yahoo.com
Mon Feb 20 02:24:23 EST 2017


Thank you. I able to open it. Here my ctrl file look like:
dset ^E:\CMIP5\MIROC5\histo\si\sic_OImon_MIROC5_historical_r1i1p1_185001-201212.ncoptions 365_day_calendarTDEF time 1956 LINEAR 0Z1jan1850 1mon
Regards,Atiqah    On Monday, February 20, 2017 3:20 PM, Andrew Friedman <andfried at gmail.com> wrote:
 

 Here are some previous answers specifically regarding the 365-day calendar issue: http://gradsusr.org/pipermail/gradsusr/2011-June/030237.html

> On Feb 20, 2017, at 7:39 AM, Lyndon Mark Olaguera <olagueralyndonmark429 at gmail.com> wrote:
> 
> Hi,
> 
> You can do any of the following.
> 
> 
> [1] Set tdef like this if you want to use a ctl file. To determine the XDEF and YDEF, you can use ncdump -h or cdo sinfo to get the correct coordinates.
> 
> TDEF time 365 LINEAR 01Jan1971 1mo
> 
> [2] Use nco like the following. In this case, no need to create a ctl file. You can open the netcdf via sdfopen.
> 
> ncatted -O -a calendar,time,o,c,"standard" input_file.nc
> 
> Goodluck,
> 
> 
> Lyndon Mark P. Olaguera
> PhD Student 
> Monsoon Climatology Laboratory
> Department of Geography
> Faculty of Urban Environmental Science
> Minami-Osawa Campus
> Tokyo Metropolitan University
> 
> 
> On Mon, Feb 20, 2017 at 9:51 AM, syairah atiqah atiq <syairahatiqah at yahoo.com> wrote:
> Dear grads experts,
> 
> Anyone has an experience deal with CMIP5 data? I need help. I downloaded nc. file from CMIP5 model. However when I try to open it using sdfopen, it's error. Below what the grads said:
> 
> sdfopen C:\Users\atiqah\Downloads\sic_OImon_MIROC5_historical_r1i1p1_185001-201212.nc
> Scanning self-describing file:  C:\Users\atiqah\Downloads\sic_OImon_MIROC5_historical_r1i1p1_185001-201212.nc
> SDF Error: 365 day calendars are no longer supported by sdfopen.
>  To open this file with GrADS, use a descriptor file with
>  a complete TDEF entry and OPTIONS 365_day_calendar.
>  Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html
> 
> what should I do? did I need do the control file?  
> 
> dset  C:\Users\atiqah\Downloads\sic_OImon_MIROC5_historical_r1i1p1_185001-201212.nc
> undef  -9.99e+33
> title  Sea ice area fraction
> xdef  
> ydef  
> zdef  1 levels 0
> tdef  163 linear 00z01JAN1980 1mon
> OPTIONS
> vars 1
> sic  0 99 summer [%]
> endvars
> 
> Thank you
> Atiqah
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://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/20170220/839cc404/attachment-0001.html 


More information about the gradsusr mailing list