NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
On Mon, 2 Jun 2003, Yan Gu wrote:
Robb, Thanks for your answer to me. For the gribtocdl, now I know that "3008" stands for 3008 parameters. However, I am confused that if there are 3008 parameters, then why in the result netCDF file, there are only about 47 parameters? Futher more, for
Yan, No there are 47 parameters in the file, some of the parameters have have different levels, times, etc. Each product only contains one parameter and level time information and there are multi levels for one parameter.
the table files, now I know the syntax of them. My new question is how to contruct the table file. I mean, where I can get the infomation of grib ID ( I guess I can get this in gribdump -h ), netCDF name, long name, units and comments assume I only have grib files?
I looked up you parameters, they come from a ecmwf parameter table. It looks like these names are not the standard ones but are close. I'll attach the table, it's in XML format. Using your ctl file entries, ie no10Usfc 0 165,1,0 ** 10 metre u wind component m s**-1 transforms into a table entry Grib;netCDF ;long name ;units ;comments 165 ;no10Usfc;10 metre u wind component;m s**-1 ; You need to do this for all 47 variables. Then use the table for both programs gribtocdl and gribtonc. Then the names should be correct in the NetCDF file. The ctl file and parm_table_ecmwf_128.xml helped me decide the numbers. Robb...
For the gribtonc, I tried to attach the grib file i am using to convert. I am too sad it is too big about 300 MB. I think I had better not attach it. Well, I do attach the test.cdl file which from gribtocdl. I also attach the Y63211.ctl file which I got from the site as the same time as I downloaded the data. Those parameters in that file are what we need but for some reason I can't match them in the cdl file that created by gribtonc. I guess the problem here is the name difference. But I do have no idea how to match them. Would you please give me some clue? Again, I do appreciate your help. It really help me a lot. Yan
============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ==============================================================================
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE standardQuantities SYSTEM "http://www.unidata.ucar.edu/projects/THREDSS/xml/StandardQuantities.dtd"> <standardQuantities name="StandardQuantities parm_table_ecmwf_128" version="1"> <documentation> ECMWF Parameter Tables (GRIB1 Section 1 Table 2) Table versions 128, 129, 130, 131, 140, 150, 160, 170, 180 </documentation> <quantity id="var0" number="0" units="" /> description="undefined" /> <quantity id="None" number="1" units="" /> description="Stream Function m**2 s**-1" /> <quantity id="None" number="2" units="" /> description="Velocity Potential m**2 s**-1" /> <quantity id="None" number="3" units="" /> description="Potential Temperature K" /> <quantity id="None" number="4" units="" /> description="Equivalent Potential Temperature K" /> <quantity id="None" number="5" units="" /> description="Saturated Equivalent Potential Temperature K" /> <quantity id="None" number="6" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="7" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="8" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="9" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="10" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="11" units="" /> description="u-component of Divergent Wind m s**-1" /> <quantity id="None" number="12" units="" /> description="v-component of Divergent Wind m s**-1" /> <quantity id="None" number="13" units="" /> description="u-component of Rotational Wind m s**-1" /> <quantity id="None" number="14" units="" /> description="v-component of Rotational Wind m s**-1" /> <quantity id="None" number="15" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="16" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="17" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="18" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="19" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="None" number="20" units="" /> description="RESERVED FOR METVIEW. -" /> <quantity id="UCTP" number="21" units="" /> description="Unbalanced component of temperature K" /> <quantity id="UCLN" number="22" units="" /> description="Unbalanced component of lnsp -" /> <quantity id="UCDV" number="23" units="" /> description="Unbalanced component of divergence s**-1" /> <quantity id="None" number="24" units="" /> description="Reserved for future unbalanced components -" /> <quantity id="None" number="25" units="" /> description="Reserved for future unbalanced components -" /> <quantity id="CL" number="26" units="" /> description="Lake cover (0-1)" /> <quantity id="CVL" number="27" units="" /> description="Low vegetation cover (0-1)" /> <quantity id="CVH" number="28" units="" /> description="High vegetation cover (0-1)" /> <quantity id="TVL" number="29" units="" /> description="Type of low vegetation -" /> <quantity id="TVH" number="30" units="" /> description="Type of high vegetation -" /> <quantity id="CI" number="31" units="" /> description="Sea ice cover (0-1)" /> <quantity id="ASN" number="32" units="" /> description="Snow albedo (0-1)" /> <quantity id="RSN" number="33" units="" /> description="Snow density kg**-3" /> <quantity id="SSTK" number="34" units="" /> description="Sea surface temperature (absolute) K" /> <quantity id="ISTL1" number="35" units="" /> description="Ice surface temperature layer 1 K" /> <quantity id="ISTL2" number="36" units="" /> description="Ice surface temperature layer 2 K" /> <quantity id="ISTL3" number="37" units="" /> description="Ice surface temperature layer 3 K" /> <quantity id="ISTL4" number="38" units="" /> description="Ice surface temperature layer 4 K" /> <quantity id="SWVL1" number="39" units="" /> description="Volumetric soil water layer 1 m**3 m**-3" /> <quantity id="SWVL2" number="40" units="" /> description="Volumetric soil water layer 2 m**3 m**-3" /> <quantity id="SWVL3" number="41" units="" /> description="Volumetric soil water layer 3 m**3 m**-3" /> <quantity id="SWVL4" number="42" units="" /> description="Volumetric soil water layer 4 m**3 m**-3" /> <quantity id="SLT" number="43" units="" /> description="Soil Type -" /> <quantity id="var45" number="45" units="" /> description="undefined" /> <quantity id="var46" number="46" units="" /> description="undefined" /> <quantity id="var47" number="47" units="" /> description="undefined" /> <quantity id="var48" number="48" units="" /> description="undefined" /> <quantity id="var49" number="49" units="" /> description="undefined" /> <quantity id="var50" number="50" units="" /> description="undefined" /> <quantity id="var51" number="51" units="" /> description="undefined" /> <quantity id="var52" number="52" units="" /> description="undefined" /> <quantity id="var53" number="53" units="" /> description="undefined" /> <quantity id="var54" number="54" units="" /> description="undefined" /> <quantity id="var55" number="55" units="" /> description="undefined" /> <quantity id="var56" number="56" units="" /> description="undefined" /> <quantity id="var57" number="57" units="" /> description="undefined" /> <quantity id="var58" number="58" units="" /> description="undefined" /> <quantity id="var59" number="59" units="" /> description="undefined" /> <quantity id="var60" number="60" units="" /> description="undefined" /> <quantity id="var61" number="61" units="" /> description="undefined" /> <quantity id="var62" number="62" units="" /> description="undefined" /> <quantity id="var63" number="63" units="" /> description="undefined" /> <quantity id="var64" number="64" units="" /> description="undefined" /> <quantity id="var65" number="65" units="" /> description="undefined" /> <quantity id="var66" number="66" units="" /> description="undefined" /> <quantity id="var67" number="67" units="" /> description="undefined" /> <quantity id="var68" number="68" units="" /> description="undefined" /> <quantity id="var69" number="69" units="" /> description="undefined" /> <quantity id="var70" number="70" units="" /> description="undefined" /> <quantity id="var71" number="71" units="" /> description="undefined" /> <quantity id="var72" number="72" units="" /> description="undefined" /> <quantity id="var73" number="73" units="" /> description="undefined" /> <quantity id="var74" number="74" units="" /> description="undefined" /> <quantity id="var75" number="75" units="" /> description="undefined" /> <quantity id="var76" number="76" units="" /> description="undefined" /> <quantity id="var77" number="77" units="" /> description="undefined" /> <quantity id="var78" number="78" units="" /> description="undefined" /> <quantity id="var79" number="79" units="" /> description="undefined" /> <quantity id="var80" number="80" units="" /> description="undefined" /> <quantity id="var81" number="81" units="" /> description="undefined" /> <quantity id="var82" number="82" units="" /> description="undefined" /> <quantity id="var83" number="83" units="" /> description="undefined" /> <quantity id="var84" number="84" units="" /> description="undefined" /> <quantity id="var85" number="85" units="" /> description="undefined" /> <quantity id="var86" number="86" units="" /> description="undefined" /> <quantity id="var87" number="87" units="" /> description="undefined" /> <quantity id="var88" number="88" units="" /> description="undefined" /> <quantity id="var89" number="89" units="" /> description="undefined" /> <quantity id="var90" number="90" units="" /> description="undefined" /> <quantity id="var91" number="91" units="" /> description="undefined" /> <quantity id="var92" number="92" units="" /> description="undefined" /> <quantity id="var93" number="93" units="" /> description="undefined" /> <quantity id="var94" number="94" units="" /> description="undefined" /> <quantity id="var95" number="95" units="" /> description="undefined" /> <quantity id="var96" number="96" units="" /> description="undefined" /> <quantity id="var97" number="97" units="" /> description="undefined" /> <quantity id="var98" number="98" units="" /> description="undefined" /> <quantity id="var99" number="99" units="" /> description="undefined" /> <quantity id="var100" number="100" units="" /> description="undefined" /> <quantity id="var101" number="101" units="" /> description="undefined" /> <quantity id="var102" number="102" units="" /> description="undefined" /> <quantity id="var103" number="103" units="" /> description="undefined" /> <quantity id="var104" number="104" units="" /> description="undefined" /> <quantity id="var105" number="105" units="" /> description="undefined" /> <quantity id="var106" number="106" units="" /> description="undefined" /> <quantity id="var107" number="107" units="" /> description="undefined" /> <quantity id="var108" number="108" units="" /> description="undefined" /> <quantity id="var109" number="109" units="" /> description="undefined" /> <quantity id="var110" number="110" units="" /> description="undefined" /> <quantity id="var111" number="111" units="" /> description="undefined" /> <quantity id="var112" number="112" units="" /> description="undefined" /> <quantity id="var113" number="113" units="" /> description="undefined" /> <quantity id="var114" number="114" units="" /> description="undefined" /> <quantity id="var115" number="115" units="" /> description="undefined" /> <quantity id="var116" number="116" units="" /> description="undefined" /> <quantity id="var117" number="117" units="" /> description="undefined" /> <quantity id="var118" number="118" units="" /> description="undefined" /> <quantity id="var119" number="119" units="" /> description="undefined" /> <quantity id="var120" number="120" units="" /> description="undefined" /> <quantity id="var121" number="121" units="" /> description="undefined" /> <quantity id="var122" number="122" units="" /> description="undefined" /> <quantity id="var123" number="123" units="" /> description="undefined" /> <quantity id="var124" number="124" units="" /> description="undefined" /> <quantity id="var125" number="125" units="" /> description="undefined" /> <quantity id="AT" number="127" units="" /> description="Atmospheric tide -" /> <quantity id="BV" number="128" units="" /> description="Budget values -" /> <quantity id="Z" number="129" units="" /> description="Geopotential (at the surface = orography) m**2 s**-2" /> <quantity id="T" number="130" units="" /> description="Temperature K" /> <quantity id="U" number="131" units="" /> description="U-velocity m s**-1" /> <quantity id="V" number="132" units="" /> description="V-velocity m s**-1" /> <quantity id="Q" number="133" units="" /> description="Specific humidity kg kg**-1" /> <quantity id="SP" number="134" units="" /> description="Surface pressure Pa" /> <quantity id="W" number="135" units="" /> description="Vertical velocity Pa s**-1" /> <quantity id="TWC" number="136" units="" /> description="Total column water kg m**-2" /> <quantity id="PWC" number="137" units="" /> description="Precipitable water content kg m**-2" /> <quantity id="VO" number="138" units="" /> description="Vorticity (relative) s**-1" /> <quantity id="ST" number="139" units="" /> description="Surf.temp/soil temp lev 1 (from 930804) K" /> <quantity id="SSW" number="140" units="" /> description="Surf soil wet/soil wet lev1(from 930803) m (of water)" /> <quantity id="SD" number="141" units="" /> description="Snow depth m (of water equivalent)" /> <quantity id="LSP" number="142" units="" /> description="Large scale precipitation m" /> <quantity id="CP" number="143" units="" /> description="Convective precipitation m" /> <quantity id="SF" number="144" units="" /> description="Snow fall m(of water equivalent)" /> <quantity id="BLD" number="145" units="" /> description="Boundary layer dissipation W m**-2 s" /> <quantity id="SSHF" number="146" units="" /> description="Surface sensible heat flux W m**-2 s" /> <quantity id="SLHF" number="147" units="" /> description="Surface latent heat flux W m**-2 s" /> <quantity id="SNR" number="149" units="" /> description="Surface net radiation -" /> <quantity id="AIW" number="150" units="" /> description="Top net radiation -" /> <quantity id="MSL" number="151" units="" /> description="Mean sea level pressure Pa" /> <quantity id="LNSP" number="152" units="" /> description="Log surface pressure -" /> <quantity id="SWHR" number="153" units="" /> description="Short wave heating rate K" /> <quantity id="LWH" number="154" units="" /> description="Long wave heating rate K" /> <quantity id="D" number="155" units="" /> description="Divergence s**-1" /> <quantity id="GH" number="156" units="" /> description="Height (geopotential) m" /> <quantity id="R" number="157" units="" /> description="Relative humidity %" /> <quantity id="TSP" number="158" units="" /> description="Tendency of surface pressure Pa s**-1" /> <quantity id="BLH" number="159" units="" /> description="Boundary layer height m" /> <quantity id="SDOR" number="160" units="" /> description="Standard deviation of orography -" /> <quantity id="ISOR" number="161" units="" /> description="Anisotropy of subgrid scale orography -" /> <quantity id="ANOR" number="162" units="" /> description="Angle of subgrid scale orography -" /> <quantity id="SLOR" number="163" units="" /> description="Slope of subgrid scale orography -" /> <quantity id="TCC" number="164" units="" /> description="Total cloud cover (0 - 1)" /> <quantity id="10U" number="165" units="" /> description="10 metre u wind component m s**-1" /> <quantity id="10V" number="166" units="" /> description="10 metre v wind component m s**-1" /> <quantity id="2T" number="167" units="" /> description="2 metre temperature K" /> <quantity id="2D" number="168" units="" /> description="2 metre dewpoint temperature K" /> <quantity id="SSRD" number="169" units="" /> description="Surface solar radiation downwards W m**-2 s" /> <quantity id="DST" number="170" units="" /> description="Deep soil tmp/soil temp lev2(from 930804) K" /> <quantity id="DSW" number="171" units="" /> description="Deep soil wet/soil wet lev2(from 930803) m (of water)" /> <quantity id="LSM" number="172" units="" /> description="Land/sea mask (0" /> <quantity id="SR" number="173" units="" /> description="Surface roughness m" /> <quantity id="AL" number="174" units="" /> description="Albedo -" /> <quantity id="STRD" number="175" units="" /> description="Surface thermal radiation downwards W m**-2 s" /> <quantity id="SSR" number="176" units="" /> description="Surface solar radiation W m**-2 s" /> <quantity id="STR" number="177" units="" /> description="Surface thermal radiation W m**-2 s" /> <quantity id="TSR" number="178" units="" /> description="Top solar radiation W m**-2 s" /> <quantity id="TTR" number="179" units="" /> description="Top thermal radiation W m**-2 s" /> <quantity id="EWSS" number="180" units="" /> description="East/West surface stress N m**-2 s" /> <quantity id="NSSS" number="181" units="" /> description="North/South surface stress N m**-2 s" /> <quantity id="E" number="182" units="" /> description="Evaporation m (of water)" /> <quantity id="CDST" number="183" units="" /> description="Clim deep soil tmp/soil tmp lev3(930804) K" /> <quantity id="CDSW" number="184" units="" /> description="Clim deep soil wet/soil wet lev3(930803) m (of water)" /> <quantity id="CCC" number="185" units="" /> description="Convective cloud cover (0 - 1)" /> <quantity id="LCC" number="186" units="" /> description="Low cloud cover (0 - 1)" /> <quantity id="MCC" number="187" units="" /> description="Medium cloud cover (0 - 1)" /> <quantity id="HCC" number="188" units="" /> description="High cloud cover (0 - 1)" /> <quantity id="EWOV" number="190" units="" /> description="EW component subgrid orographic variance m**2" /> <quantity id="NSOV" number="191" units="" /> description="NS component subgrid orographic variance m**2" /> <quantity id="NWOV" number="192" units="" /> description="NWSE component subgrid orographic variance m**2" /> <quantity id="NEOV" number="193" units="" /> description="NESW component subgrid orographic variance m**2" /> <quantity id="BTMP" number="194" units="" /> description="Brightness temperature K" /> <quantity id="LGWS" number="195" units="" /> description="Lat. component of gravity wave stress N m**-2 s" /> <quantity id="MGWS" number="196" units="" /> description="Meridional component gravity wave stress N m**-2 s" /> <quantity id="GWD" number="197" units="" /> description="Gravity wave dissipation W m**-2 s" /> <quantity id="SRC" number="198" units="" /> description="Skin reservoir content m (of water)" /> <quantity id="VEG" number="199" units="" /> description="Percentage of vegetation %" /> <quantity id="VSO" number="200" units="" /> description="Variance of sub-grid scale orography m**2" /> <quantity id="MX2T" number="201" units="" /> description="Max 2m temp since previous post-processing K" /> <quantity id="MN2T" number="202" units="" /> description="Min 2m temp since previous post-processing K" /> <quantity id="O3" number="203" units="" /> description="Ozone mass mixing ratio kg kg**-1" /> <quantity id="PAW" number="204" units="" /> description="Precip. analysis weights -" /> <quantity id="RO" number="205" units="" /> description="Runoff* m" /> <quantity id="TCO3" number="206" units="" /> description="Total column ozone Dobson (kg m**-2)" /> <quantity id="10SI" number="207" units="" /> description="10m. Windspeed (irresp of dir.) m s**-1" /> <quantity id="TSRC" number="208" units="" /> description="Top net solar radiation clear sky W m**-2" /> <quantity id="TTRC" number="209" units="" /> description="Top upward thermal radiation clear sky W m**-2" /> <quantity id="SSRC" number="210" units="" /> description="Surface net solar radiation clear sky W m**-2" /> <quantity id="STRC" number="211" units="" /> description="Surface net thermal radiation clear sky W m**-2" /> <quantity id="SI" number="212" units="" /> description="Solar insulation W m**-2" /> <quantity id="DHR" number="214" units="" /> description="Diabatic heating by radiation* K" /> <quantity id="DHVD" number="215" units="" /> description="Diabatic heating by vertical diffusion K" /> <quantity id="DHCC" number="216" units="" /> description="Diabatic heating by cumulus convection K" /> <quantity id="DHLC" number="217" units="" /> description="Diabatic heating large-scale condensation K" /> <quantity id="VDZW" number="218" units="" /> description="Vertical diffusion of zonal wind m s**-1" /> <quantity id="VDMW" number="219" units="" /> description="Vertical diffusion of meridional wind m s**-1" /> <quantity id="EWGD" number="220" units="" /> description="EW gravity wave drag m s**-1" /> <quantity id="NSGD" number="221" units="" /> description="NS gravity wave drag m s**-1" /> <quantity id="CTZW" number="222" units="" /> description="Convective tendency of zonal wind m s**-1" /> <quantity id="CTMW" number="223" units="" /> description="Convective tendency of meridional wind m s**-1" /> <quantity id="VDH" number="224" units="" /> description="Vertical diffusion of humidity kg kg**-1" /> <quantity id="HTCC" number="225" units="" /> description="Humidity tendency by cumulus convection kg kg**-1" /> <quantity id="HTLC" number="226" units="" /> description="Humidity tendency large-scale condensation kg kg**-1" /> <quantity id="CRNH" number="227" units="" /> description="Change from removing negative humidity kg/kg s-1" /> <quantity id="TP" number="228" units="" /> description="Total precipitation m" /> <quantity id="IEWS" number="229" units="" /> description="Instantaneous X surface stress N m**-2" /> <quantity id="INSS" number="230" units="" /> description="Instantaneous Y surface stress N m**-2" /> <quantity id="ISHF" number="231" units="" /> description="Instantaneous surface Heat Flux W m**-2" /> <quantity id="IE" number="232" units="" /> description="Instantaneous Moisture Flux (evaporation) kg m**-2 s" /> <quantity id="ASQ" number="233" units="" /> description="Apparent Surface Humidity kg kg**-1" /> <quantity id="LSRH" number="234" units="" /> description="Log of surface roughness length for heat -" /> <quantity id="SKT" number="235" units="" /> description="Skin Temperature K" /> <quantity id="STL4" number="236" units="" /> description="Soil temperature level 4 K" /> <quantity id="SWL4" number="237" units="" /> description="Soil wetness level 4 m" /> <quantity id="TSN" number="238" units="" /> description="Temperature of snow layer K" /> <quantity id="CSF" number="239" units="" /> description="Convective snow-fall m (of water equivalent)" /> <quantity id="LSF" number="240" units="" /> description="Large scale snow-fall m (of water equivalent)" /> <quantity id="ACF" number="241" units="" /> description="Accumulated cloud fraction tendency (-1 to 1)" /> <quantity id="ALW" number="242" units="" /> description="Accumulated liquid water tendency (-1 to 1)" /> <quantity id="FAL" number="243" units="" /> description="Forecast albedo -" /> <quantity id="FSR" number="244" units="" /> description="Forecast surface roughness m" /> <quantity id="FLSR" number="245" units="" /> description="Forecast log of surface roughness for heat -" /> <quantity id="CLWC" number="246" units="" /> description="Cloud liquid water content kg kg**-1" /> <quantity id="CIWC" number="247" units="" /> description="Cloud ice water content kg kg**-1" /> <quantity id="CC" number="248" units="" /> description="Cloud cover (0 - 1)" /> <quantity id="AIW" number="249" units="" /> description="Accumulated ice water tendency (-1 to 1)" /> <quantity id="ICE" number="250" units="" /> description="Ice Age (0 first-year 1 multi-year)" /> <quantity id="ATTE" number="251" units="" /> description="Adiabatic tendency of temperature K" /> <quantity id="ATHE" number="252" units="" /> description="Adiabatic tendency of humidity kg kg**-1" /> <quantity id="ATZE" number="253" units="" /> description="Adiabatic tendency of zonal wind m s**-1" /> <quantity id="ATMW" number="254" units="" /> description="Adiabatic tendency of meridional wind m s**-1" /> </standardQuantities>
decoders
archives: