<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 10, 2009, at 1:05 PM, Remi Meynadier wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear grads users,<br>I have a netcdf files (see the ncdump below) with data defined on a reduced<br>gaussian grid (N256) and hybrid level for vertical resolution.<br>I can open it with sdfopen myfile.nc but it will only plot the first<br>vertical level (it works fine for the first level).<br>I need so to create a ddf file (see below) to force grads to take into the<br>vertical resolution.<br>But when i run the ddf file i have some trouble and it seems that grads does<br>not recognize the data.</div></blockquote>Next time, please also include the error message you get from GrADS and the version/OS you're using. </div><div><br><blockquote type="cite"><div>Any clue where does it come from ?<br>Thanks in advance<br><br>Remi Meynadier<br><br>-----------------------------------------------------------------------<br>ddf file:<br><br>vars 1<br>d_gds4_hybl=>div 91 t,z,y,x divergence model level ECMWF<br>endvars</div></blockquote><div><br></div>The name of the variable in the netcdf file is in upper case, but you have changed it to lower case in your variable declaration. Change the line above to :</div><div>D_GDS4_HYBL=>div 91 t,z,y,x Divergence model level ECMWF</div><div><br></div><div><br></div><div><blockquote type="cite"><div>ncdump -h divergence.nc<br>netcdf divergence {<br> variables:<br> float D_GDS4_HYBL(initial_time0_hours, lv_HYBL1, g4_lat_4, g4_lon_5) ;<br></div></blockquote><br></div><div><br></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></body></html>