Re: [netcdf-java] grib-8.0.jar

On Sun, 28 Mar 2010, Bill Hankins wrote:

Hello John

When trying to serve up some grib JMA Surfa data on our recently deployed
TDS v4.1 server I noticed that several of the variables were not showing up
properly with the OPENDAP and netCDF subsetting access methods.

After a grib dump and view of the JMA dataset, I discovered that all of the
missing variables were existing and defined properly within their data.

After a little snooping around I took a look at the grib-8.0.jar and
discovered that the missing variables needed to be added to the resource
table jma_0_3v.tab.

After adding the following line items into the table, everything rendered
properly in all access methods for the JMA grib dataset.

0:var0:undefined
17:DPT:Dew point temperature [K]
57:EVP:Evaporation [kg m-2]
58:CICE:Cloud Ice [kg m-2]
78:SNOC:Convective snow [kg m-2]
79:SNOL:Large scale snow [kg m-2]
81:LAND:Land cover (land=1;sea=0) [fraction]
84:ALBDO:Albedo [%]
111:NSWRS:Net short wave radiation surface [W m-2]
112:NLWRS:Net long wave radiation surface [W m-2]
115:LWAVR:Long wave radiation [W m-2]
116:SWAVR:Short wave radiation [W m-2]

Can somebody add these line items to the grib-8.0.jar for a future version
of netCDF4.x?

Hiya Bill,

The jma_0_3v.tab was updated and it will be in the next release.

I would also like to know if this is the correct avenue to
request these changes, we would also like to add new tables for other grib
datasets in the near future.

The perferred route is to use the support page at:
http://www.unidata.ucar.edu/support/

using heading netCDF decoders or netCDF java


A few questions though, the very first variable in the existing table,
1:PRES:Surface pressure [Pa],  wouldn't render properly until I placed the
line item 0:var0:undefined before it, why is this? The other is the grib
model data from other agencies have a number sequence prior to the
0:var0:undefined line item. i.e. dwd_v202.tab has -1:7:-1:2,
wmo_2_v3.ecmwf.tab has -1:0:0:3. Should my updated jma_0_3v.tab have an
unique number sequence as the first line item, do you know what it refers
to? Also how does TDS know which version of the multiple resource tables to
use? There seems to be several for each agencies datasets.

Table jma_0_3v.tab was missing the first couple of lines, the first line should of started with a -1, then has the center ID, then subcenter ID and finally the table number. So the first line in jma_0_3v.tab
should of been -1:34:0:3.  Actually the center ID, the subcenter ID and the
table number is how the tables are matched to the grib files. Some centers have multiple table numbers or multiple sub centers. If you look at tablelookup.lst file the first column is center, second is sub center and third is table number. The -1 is used as a wild card to match any number.

34:  0:     3:  jma_0_v3.tab
34:  0:    -1:  jma_0_v3.tab

If you plan on submitting tables and testing data, there are conventions at: http://www.unidata.ucar.edu/software/netcdf-java/reference/GribTables.html

The list of WMO centers is at:
http://www.nco.ncep.noaa.gov/pmb/docs/on388/table0.html

The list of NCEP sub centers is at:

http://www.nco.ncep.noaa.gov/pmb/docs/on388/tablec.html

The list of international sub centers is the same as the centers above.


Attached is the updated jma_0_3v.tab table.


Robb...





I've attached our updated jma_0_3v.tab which I tested and deployed within
our NCDC-RSAD TDS v4.1 server environment, also I've attached the
dwd_v202.tab and wmo_2_v3.ecmwf.tab resource tables that have that those
unique number sequences as the first line items as described above. If you
need to look at the actually datasets here's a link to our SURFA catalog.

http://www.ncdc.noaa.gov/thredds/surfa.html

Regards

Bill Hankins

Oh, it was nice meeting you earlier this month on your trip to Asheville.

--
Bill Hankins
Software Developer, STG, Inc., Government Contractor
Remote Sensing and Applications Division
National Climatic Data Center - NESDIS - NOAA 151 Patton Ave. Rm 445
Asheville, NC 28801-5001
Bill.Hankins@xxxxxxxx
828-271-4836



===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
===============================================================================
-1:34:0:3
0:var0:undefined
1:PRES:Surface pressure [Pa]
2:PRMSL:Pressure reduced to MSL [Pa]
4:PVORT:Potential vorticity [K m2 kg-1 s-1]
7:HGT:Geopotential height [gpm]
8:DIST:Geometric height [m]
11:TMP:Temperature [K]
13:POT:Potential temperature [K]
15:TMAX:Maximum temperature [K]
16:TMIN:Minimum temperature [K]
17:DPT:Dew point temperature [K]
18:DEPR:Dewpoint depression (or deficit) [K]
33:UGRD:u-component of wind [m s-1]
34:VGRD:v-component of wind [m s-1]
35:STRM:Stream function [m2 s-1]
36:VPOT:Velocity potential [m2 s-1]
37:MNTSF:Montgomery stream function [m2 s-2]
39:VVEL:Vertical velocity [Pa s-1]
43:RELV:Relative vorticity [s-1]
44:RELD:Relative divergence [s-1]
51:SPFH:Specific humidity [kg kg-1]
52:RH:Relative humidity [%]
54:PWAT:Precipitable water [kg m-2]
57:EVP:Evaporation [kg m-2]
58:CICE:Cloud Ice [kg m-2]
61:TPRAT:6-hourly total precipitation rate [mm day-1]
62:NCPCP:Large scale precipitation [kg m-2]
63:ACPCP:Convective precipitation [kg m-2]
64:SRWEQ:Snowfall rate water equivalent [kg m-2 s-1]
65:SNWE:Water equivalent snow depth [m]
66:SNOWD:Snow depth [m]
71:TCDC:Total cloud cover [%]
73:LCDC:Low cloud cover [%]
74:MCDC:Medium cloud cover [%]
75:HCDC:High cloud cover [%]
76:CWAT:Cloud water [kg m-2]
78:SNOC:Convective snow [kg m-2]
79:SNOL:Large scale snow [kg m-2]
80:WTMP:SST and sea ice temperature or temperature anomaly [K]
81:LAND:Land cover (land=1;sea=0) [fraction]
83:SFCR:Surface roughness [m]
84:ALBDO:Albedo [%]
85:SOILT:Soil temperature [K]
86:SOILW:Soil wetness or water content [fraction or mm]
90:ROF:Surface runoff [mm day-1]
91:ICEC:Ice cover [fraction]
111:NSWRS:Net short wave radiation surface [W m-2]
112:NLWRS:Net long wave radiation surface [W m-2]
115:LWAVR:Long wave radiation [W m-2]
116:SWAVR:Short wave radiation [W m-2]
118:PRESM:Mean surface pressure [Pa]
121:LHTFL:Latent heat flux [W m-2]
122:SHTFL:Sensible heat flux [W m-2]
124:UFLX:Momentum flux, u-component [N m-2]
125:VFLX:Momentum flux, v-component [N m-2]
132:BVF2:Square of Brunt Vaisala frequency [1 s-2]
136:UGRDM:Surface 10m zonal wind [m s-1]
137:VGRDM:Surface 10m meridional wind [m s-1]
138:TMPM:Surface 2m air temperature [K]
139:SPFHM:Surface specific humidity [kg kg-1]
144:TSC:Canopy temperature [K]
145:TSG:Ground temperature [K]
146:CWORK:Cloud work function [J kg-1]
147:FGLU:U surface momentum flux by long gravity wave [N m-2]
148:FGLV:V surface momentum flux by long gravity wave [N m-2]
151:ADVUA:Advective zonal acceleration [m s-1 day-1]
152:VWV:Column total of meridional water vapor flux [kg m-1 s-1]
154:FGSV:V surface momentum flux by short gravity wave [N m-2]
155:GFLX:Ground heat flux [W m-2]
157:UWV:Column total of zonal water vapor flux [kg m-1 s-1]
159:FGSU:U surface momentum flux by short gravity wave [N m-2]
160:CSUSF:Clear sky upward solar flux [W m-2]
161:CSDSF:Clear sky downward solar flux [W m-2]
162:CSULF:Clear sky upward long wave flux [W m-2]
163:CSDLF:Clear sky downward long wave flux [W m-2]
165:ADVV:Advective meridional acceleration [m s-1 day-1]
168:FRQP:Frequency of precipitation [%]
169:FRQC:Frequency of cumulus precipitation [%]
173:GWDUA:Gravity wave zonal acceleration [m s-1 day-1]
174:GWDVA:Gravity wave meridional acceleration [m s-1 day-1]
175:HGT:Mean geopotential height [m]
176:UGRDM:Mean zonal wind [m s-1]
177:VGRDM:Mean meridional wind [m s-1]
178:VVELM:Mean pressure vertical velocity [Pa s-1]
179:TMPM:Mean temperature [K]
180:SPFHM:Mean specific humidity [kg kg-1]
200:VTU:Column total of TU [(K*Pa*m) s-1]
201:VTV:Column total of TV [(K*Pa*m) s-1]
202:LTRS:Evapotranspiration [W m-2]
203:LINT:Interception loss [W m-2]
204:DSWRF:Downward short wave radiation flux [W m-2]
205:DLWRF:Downward long wave radiation flux [W m-2]
211:USWRF:Upward short wave radiation flux [W m-2]
212:ULWRF:Upward long wave radiation flux [W m-2]
218:TTHM:Column total of diabatic heat [W m-2]
219:WSMX:Maximum wind speed [m s-1]
220:PRMX:Maximum hourly precipitation [mm hr-1]
222:ADVHR:Advective heating rate [K day-1]
223:MSC:Canopy water content [mm]
224:MSG:Ground water content [mm]
230:MFLXB:Upward mass flux at cloud base [kg m-2 s-1]
231:MFLUX:Upward mass flux [kg m-2 s-1]
236:ADVMR:Advective moistening rate [kg kg-1 day-1]
237:OZONE:Ozone mass mixing ratio [ppm]
239:CNVUA:Convective zonal acceleration [m s-1 day-1]
240:CNVVA:Convective meridional acceleration [m s-1 day-1]
241:LRGHR:Large scale condensation heating rate [K day-1]
242:CNVHR:Convective heating rate [K day-1]
243:CNVMR:Convective moistening rate [kg kg-1 day-1]
246:VDFHR:Vertical diffusion heating rate [K day-1]
247:VDFUA:Vertical diffusion zonal acceleration [m s-1 day-1]
248:VDFVA:Vertical diffusion meridional acceleration [m s-1 day-1]
249:VDFMR:Vertical diffusion moistening rate [kg kg-1 day-1]
250:SWHR:Solar radiative heating rate [K day-1]
251:LWHR:Longwave radiative heating rate [K day-1]
253:LRGMR:Large scale moistening heating rate [kg kg-1 day-1]
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: