<DIV>I have a netcdf input file that I am attempting to write a formatter for...</DIV> <DIV> </DIV> <DIV>I have done everything I can to conform to the COARDS conventions, but I still get "Entire grid is undefined!" </DIV> <DIV> </DIV> <DIV>or U is undefined... </DIV> <DIV>when trying to plot the u;v components.. </DIV> <DIV> </DIV> <DIV>"cannot draw vector/barbs --- u field all undefined" <-- is the exact error... </DIV> <DIV> </DIV> <DIV>Since I am relatively new to grads so perhaps I am missing something here.</DIV> <DIV> </DIV> <DIV>The Netcdf files I am creating are to show windbarbs of specific stations and I am hoping to open multiple files to plot each of these data points in grads for each time stamp... </DIV> <DIV> </DIV> <DIV>However, I have to get to the point of definition first... </DIV> <DIV> </DIV> <DIV>I am including a small sample cdl output... any help would be greatly appreciated.</DIV>
<DIV> </DIV> <DIV>-- Robert Powell</DIV> <DIV> </DIV> <DIV>/////</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>netcdf jeanShort.csv{</DIV> <DIV> </DIV> <DIV>dimensions:</DIV> <DIV> lon = 1 ;</DIV> <DIV> lat = 1 ;</DIV> <DIV> level = 30 ;</DIV> <DIV> windspeed = 60 ;</DIV> <DIV> winddir = 60 ;</DIV> <DIV> time = UNLIMITED ; // Currently 2</DIV> <DIV> </DIV> <DIV>variables:</DIV> <DIV> double lon(lon) ; </DIV> <DIV> lon:long_name = "longitude" ; </DIV> <DIV> lon:units = "degrees_east" ; </DIV> <DIV> double lat(lat) ; </DIV> <DIV> lat:long_name = "latitude" ;</DIV> <DIV> lat:units = "degrees_north" ;</DIV> <DIV> double level(level) ; </DIV> <DIV> level:units = "meters" ; </DIV> <DIV> level:positive = "up" ; </DIV> <DIV> double windspeed(windspeed) ; </DIV> <DIV> windspeed:long_name = "wind speed in m/s"
; </DIV> <DIV> windspeed:missing_value = -9999 ; </DIV> <DIV> windspeed:units = "m s-1" ; </DIV> <DIV> double winddir(winddir) ; </DIV> <DIV> winddir:long_name = "wind direction in degrees north" ; </DIV> <DIV> winddir:missing_value = -9999 ; </DIV> <DIV> long time(time) ; </DIV> <DIV> time:units = "hours since 1970-1-1 00:00:0.0" ;</DIV> <DIV> time:long_name = "hours since 1970-1-1 00:00:0.0" ; </DIV> <DIV> double u(time, level, lat, lon) ; </DIV> <DIV> u:long_name = "u vector" ; </DIV> <DIV> u:missing_value = -9999 ; </DIV> <DIV> u:units = "m s-1" ; </DIV> <DIV> double v(time, level, lat, lon) ; </DIV> <DIV> v:long_name = "v vector" ; </DIV> <DIV> v:missing_value = -9999 ; </DIV> <DIV> v:units = "m s-1" ; </DIV> <DIV> double pressure(time,level,lat,lon); </DIV>
<DIV> pressure:missing_value = -9999 ; </DIV> <DIV> double o3(time, level, lat, lon) ; </DIV> <DIV> o3:missing_value = -9999 ; </DIV> <DIV> double temp(time, level, lat, lon) ; </DIV> <DIV> temp:missing_value = -9999 ; </DIV> <DIV> double rh(time, level, lat, lon) ; </DIV> <DIV> rh:missing_value = -9999 ; </DIV> <DIV> </DIV> <DIV> data:</DIV> <DIV> lon = -115.3333 ; </DIV> <DIV><BR> lat = 35.7667 ; </DIV> <DIV><BR> level = 882,902,922,942,962,<BR> 982,1002,1022,1042,1062,<BR> 1082,1102,1122,1142,1162,<BR> 1182,1202,1222,1242,1262,<BR> 1282,1302,1322,1342,1362,<BR> 1382,1402,1422,1442,1462 ; </DIV> <DIV><BR> time = 310375,310376 ; </DIV> <DIV><BR> windspeed =
-9999,5.12,8.1,9.13,7.54,<BR> 8.75,10.38,8.74,8.53,6.97,<BR> 8.18,7.93,8.67,10.24,7.84,<BR> 5.19,5.08,6.28,12.2,6.93,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,7.63,7.98,8.11,7.03,<BR> 8.21,7.09,7.91,6.66,8.12,<BR> 7.73,9.48,7.77,8.24,10.23,<BR> 8.03,8.38,12.16,8.05,9.71,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,17.48,-9999,-9999,-9999 ; </DIV> <DIV><BR> winddir =
-9999,201,187,182,188,<BR> 216,209,203,204,196,<BR> 197,203,211,217,245,<BR> 257,274,246,232,295,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,175,173,183,182,<BR> 197,197,201,203,197,<BR> 209,199,218,239,225,<BR> 220,239,249,235,236,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,215,-9999,-9999,-9999 ; </DIV> <DIV><BR> u =
-9999,1.83484148059513,0.9871378930745,0.318628220155604,1.04936164393189,<BR> 5.14311710445894,5.03231907677181,3.41498594747955,3.46945955953588,1.92118906085767,<BR> 2.39159666128098,3.0984941148184,4.46537615800657,6.16258136510406,7.10545100476382,<BR> 5.05697988013423,5.06762561999368,5.73706389056461,9.61372680282721,6.28071514134196,<BR> 0,0,0,0,0,<BR> 0,0,0,0,0,<BR> -9999,-0.665001669114948,-0.97252081332444,0.42444087033222,0.24534023961598,<BR> 2.40036779818055,2.07291202059684,2.83468674052881,2.60226617965833,2.37405438748186,<BR> 3.7475748038002,3.08638160933055,4.78368629970999,7.06305600181727,7.23369827012026,<BR> 5.16158109555769,7.18305938048893,11.3523352518616,6.59417122222743,8.04995160039199,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,10.0261083496756,-9999,-9999,-9999 ; </DIV> <DIV><BR> v =
-9999,4.77993271302928,8.03962429346399,9.12443839681766,7.46662173544666,<BR> 7.07890150022035,9.07855521047036,8.04521416610628,7.79254453723205,6.69999496958325,<BR> 7.82257409103612,7.29960507290879,7.43164287136475,8.17803099275567,3.31333155885445,<BR> 1.16749924707366,-0.354359387604836,2.55430967495714,7.51107561941708,-2.92873988488528,<BR> 0,0,0,0,0,<BR> 0,0,0,0,0,<BR> -9999,7.60096525318162,7.92051786612787,8.0988857225912,7.0257176264653,<BR> 7.85126323806927,6.78020174883204,7.38462260938703,6.13056365517939,7.76519579696984,<BR> 6.76081230991675,8.96351764440647,6.12284618343193,4.24391799110126,7.23370647295417,<BR> 6.15133973976251,4.31602339386269,4.35776138967474,4.61729421760706,5.4297678800614,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,14.318783166197,-9999,-9999,-9999 ; </DIV> <DIV><BR> pressure =
-9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999 ; </DIV> <DIV><BR> o3 =
-9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999 ; </DIV> <DIV><BR> temp=
-9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999 ; </DIV> <DIV><BR> rh =
-9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999,<BR> -9999,-9999,-9999,-9999,-9999 ; <BR>}</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV><p>
<hr size=1>New <a href="http://us.rd.yahoo.com/mail_us/taglines/postman4/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com">Yahoo! Messenger with Voice.</a> Call regular phones from your PC for low, low rates.