<div dir="ltr"><div>Just curious how this goes. Are you using sdfopen to query the file? In my experience viewing netCDF data in Grads, you can write a control file to only view the specific arrays you want to display and omit the rest from the VARS section. I've done exactly this with WRF output for years. Have you tried this?<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 7:21 AM, Jennifer M Adams <span dir="ltr"><<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, it most definitely DOES matter!<br>
<br>
Grads requires that the netcdf varids be consistent for each variable in a templated set of data files. If the variables are written out in different order in some of the data files, the varids won’t be the same, and GrADS will get upset. I think using NCO to rearrange the variables is your best option, but be careful if the data are compressed/chunked — NCO will not retain existing chunking parameters in the output file, and the defaults are not GrADS-friendly. Use the —cnk_dmn option to specify which dimensions should be chunked and what the chunk size should be.<br>
—Jennifer<br>
<div><div class="h5"><br>
<br>
<br>
> On Feb 6, 2018, at 3:33 AM, M.Mahakur <<a href="mailto:mmahakur@TROPMET.RES.IN">mmahakur@TROPMET.RES.IN</a>> wrote:<br>
><br>
> It doesn't matter.<br>
><br>
><br>
><br>
> ----- Original Message -----<br>
> From: Semyon Grodsky <<a href="mailto:senya@umd.edu">senya@umd.edu</a>><br>
> To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
> Sent: Tue, 06 Feb 2018 09:43:43 +0530 (IST)<br>
> Subject: [gradsusr] netcdf files with different order of variables<br>
><br>
> Dear GRADS community,<br>
><br>
> I face a bit unusual problem. I have data in netcdf fromat, but a<br>
> portion of files has different order of variables. For an example, some<br>
> files has the following order of variables u,v,T.S while other files -<br>
> T,S, u,v.<br>
><br>
> Is there a way to use all these data in GRADS?<br>
><br>
> Alternatively, could smb suggest a simple (utility based) way to unify<br>
> the order of variables (say change T,S, u,v => u,v,T.S)?<br>
><br>
> Thanks,<br>
><br>
> --Senya<br>
><br>
> --<br>
> ------------------------------<wbr>-----------------<br>
> Semyon Grodsky<br>
> University of Maryland<br>
> Department of Atmospheric and Oceanic Science<br>
> Room 2409, Atlantic Building (224)<br>
> 4254 Stadium Dr.<br>
> College Park, MD 20742<br>
><br>
> Phone: 301-405-5330<br>
> Fax: 301-314-9482<br>
> E-mail: <a href="mailto:senya@atmos.umd.edu">senya@atmos.umd.edu</a><br>
><br>
> ______________________________<wbr>_________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
</div></div>> <a href="http://secure-web.cisco.com/1xkLtB97-N2PThacwoqMZlkuozRcnoMMqcAUYnXtdOA28QprCgv2Pcac_noNGRhYR3Uec7JnkIdK0ESVHIIdgaGz4SxXpxj8tHwR-CSQr0eeaWekpFNoCMJrx1PmIDu757Xx4xtmK9-JDAHOoXJpP5pioX2u8EBnQ3EJDQ7ED8WYQzCL4pCfYrys_4iNFcL9_uGmqSA0sbnFtmC9-4557AVoqaKVj31w7er6Lsw734OLcJ3m0WJMzvlVNm4XeTy2qgjyMza67LApP9W-lsdcQ-gkrWXFIxWyAZKU3l59Oo66aXYC7j6MrAV_s_5TOWQYSlwxK6NMOKiv02mPnhq1WQBOsXi_Rdzgl-Vpn53W9Tps1M0_dNEpZus6O-OPvgBRpry-3JV6fgsjWjIOK85knkBELqS11INlK4TkvgqoVRZPrPi1sihj-9CeEe4a5LtOd/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr" rel="noreferrer" target="_blank">http://secure-web.cisco.com/<wbr>1xkLtB97-<wbr>N2PThacwoqMZlkuozRcnoMMqcAUYnX<wbr>tdOA28QprCgv2Pcac_<wbr>noNGRhYR3Uec7JnkIdK0ESVHIIdgaG<wbr>z4SxXpxj8tHwR-<wbr>CSQr0eeaWekpFNoCMJrx1PmIDu757X<wbr>x4xtmK9-<wbr>JDAHOoXJpP5pioX2u8EBnQ3EJDQ7ED<wbr>8WYQzCL4pCfYrys_4iNFcL9_<wbr>uGmqSA0sbnFtmC9-<wbr>4557AVoqaKVj31w7er6Lsw734OLcJ3<wbr>m0WJMzvlVNm4XeTy2qgjyMza67LApP<wbr>9W-lsdcQ-<wbr>gkrWXFIxWyAZKU3l59Oo66aXYC7j6M<wbr>rAV_s_<wbr>5TOWQYSlwxK6NMOKiv02mPnhq1WQBO<wbr>sXi_Rdzgl-Vpn53W9Tps1M0_<wbr>dNEpZus6O-OPvgBRpry-<wbr>3JV6fgsjWjIOK85knkBELqS11INlK4<wbr>TkvgqoVRZPrPi1sihj-<wbr>9CeEe4a5LtOd/http%3A%2F%<wbr>2Fgradsusr.org%2Fmailman%<wbr>2Flistinfo%2Fgradsusr</a><br>
<span class="">><br>
> ______________________________<wbr>_________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
</span>> <a href="http://secure-web.cisco.com/1xkLtB97-N2PThacwoqMZlkuozRcnoMMqcAUYnXtdOA28QprCgv2Pcac_noNGRhYR3Uec7JnkIdK0ESVHIIdgaGz4SxXpxj8tHwR-CSQr0eeaWekpFNoCMJrx1PmIDu757Xx4xtmK9-JDAHOoXJpP5pioX2u8EBnQ3EJDQ7ED8WYQzCL4pCfYrys_4iNFcL9_uGmqSA0sbnFtmC9-4557AVoqaKVj31w7er6Lsw734OLcJ3m0WJMzvlVNm4XeTy2qgjyMza67LApP9W-lsdcQ-gkrWXFIxWyAZKU3l59Oo66aXYC7j6MrAV_s_5TOWQYSlwxK6NMOKiv02mPnhq1WQBOsXi_Rdzgl-Vpn53W9Tps1M0_dNEpZus6O-OPvgBRpry-3JV6fgsjWjIOK85knkBELqS11INlK4TkvgqoVRZPrPi1sihj-9CeEe4a5LtOd/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr" rel="noreferrer" target="_blank">http://secure-web.cisco.com/<wbr>1xkLtB97-<wbr>N2PThacwoqMZlkuozRcnoMMqcAUYnX<wbr>tdOA28QprCgv2Pcac_<wbr>noNGRhYR3Uec7JnkIdK0ESVHIIdgaG<wbr>z4SxXpxj8tHwR-<wbr>CSQr0eeaWekpFNoCMJrx1PmIDu757X<wbr>x4xtmK9-<wbr>JDAHOoXJpP5pioX2u8EBnQ3EJDQ7ED<wbr>8WYQzCL4pCfYrys_4iNFcL9_<wbr>uGmqSA0sbnFtmC9-<wbr>4557AVoqaKVj31w7er6Lsw734OLcJ3<wbr>m0WJMzvlVNm4XeTy2qgjyMza67LApP<wbr>9W-lsdcQ-<wbr>gkrWXFIxWyAZKU3l59Oo66aXYC7j6M<wbr>rAV_s_<wbr>5TOWQYSlwxK6NMOKiv02mPnhq1WQBO<wbr>sXi_Rdzgl-Vpn53W9Tps1M0_<wbr>dNEpZus6O-OPvgBRpry-<wbr>3JV6fgsjWjIOK85knkBELqS11INlK4<wbr>TkvgqoVRZPrPi1sihj-<wbr>9CeEe4a5LtOd/http%3A%2F%<wbr>2Fgradsusr.org%2Fmailman%<wbr>2Flistinfo%2Fgradsusr</a><br>
><br>
<br>
--<br>
Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span>Jeff Duda, Research Scientist<br>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>University of Colorado Boulder</span></span></font></p><font size="2"><span>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>Cooperative Institute for Research in Environmental Sciences</span></span></font></p><font size="2"><span>
</span></font><p style="margin-bottom:0.0001pt"><font size="2"><span><span>NOAA/OAR/ESRL/Global Systems Division</span></span></font></p><font size="2"><span>
<span>Boulder, CO</span></span></font>
</div></div></div></div></div></div></div></div></div></div></div>
</div>