<div dir="ltr"><div>Hi,</div><div><br></div><div>You can do any of the following.</div><div><br></div><div><br></div><div>[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.</div><div><br></div><div>TDEF time 365 LINEAR 01Jan1971 1mo</div><div><br></div><div>[2] Use nco like the following. In this case, no need to create a ctl file. You can open the netcdf via sdfopen.</div><div><br></div><div>ncatted -O -a calendar,time,o,c,"standard" <a href="http://input_file.nc">input_file.nc</a><br></div><div><br></div><div>Goodluck,</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div>PhD Student </div><div>Monsoon Climatology Laboratory</div><div>Department of Geography</div><div>Faculty of Urban Environmental Science</div><div><span style="font-size:12.8px">Minami-Osawa Campus</span><br></div><div>Tokyo Metropolitan University</div><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 20, 2017 at 9:51 AM, syairah atiqah atiq <span dir="ltr"><<a href="mailto:syairahatiqah@yahoo.com" target="_blank">syairahatiqah@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:verdana,helvetica,sans-serif;font-size:13px"><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26410">Dear grads experts,</div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26410"><br></div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26410">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:</div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26410"><br></div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26509">sdfopen C:\Users\atiqah\Downloads\sic_<wbr>OImon_MIROC5_historical_<wbr><a href="http://r1i1p1_185001-201212.nc">r1i1p1_185001-201212.nc</a></div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26510">Scanning self-describing file: C:\Users\atiqah\Downloads\<wbr>sic_OImon_MIROC5_historical_<wbr><a href="http://r1i1p1_185001-201212.nc">r1i1p1_185001-201212.nc</a></div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26511">SDF Error: 365 day calendars are no longer supported by sdfopen.</div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26512"> To open this file with GrADS, use a descriptor file with</div><div id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26513"> a complete TDEF entry and OPTIONS 365_day_calendar.</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26514"> Documentation is at <a id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26526">http://iges.org/grads/gadoc/<wbr>SDFdescriptorfile.html</a></div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26514"><br></div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26514">what should I do? did I need do the control file? </div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_26514"><br></div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28415">dset C:\Users\atiqah\Downloads\sic_<wbr>OImon_MIROC5_historical_<wbr><a href="http://r1i1p1_185001-201212.nc">r1i1p1_185001-201212.nc</a></div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28416">undef -9.99e+33</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28417">title Sea ice area fraction</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28418">xdef </div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28419">ydef </div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28420">zdef 1 levels 0</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28421">tdef 163 linear 00z01JAN1980 1mon</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28422">OPTIONS</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28423">vars 1</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28424">sic 0 99 summer [%]</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28425">endvars</div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28426"><br id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28427"></div><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28426">Thank you</div><span class="HOEnZb"><font color="#888888"><div dir="ltr" id="m_6203602510928407363yui_3_16_0_ym19_1_1487551007960_28426">Atiqah</div></font></span></div></div><br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/">http://gradsusr.org/mailman/</a><wbr>listinfo/gradsusr<br>
<br></blockquote></div><br></div>