lib/numru/gphys/grib_params.rb in gphys-1.2.2.1 vs lib/numru/gphys/grib_params.rb in gphys-1.4.3
- old
+ new
@@ -260,11 +260,11 @@
PARAM_RDN_SWTOP = 113
PARAM_RDN_LWTOP = 114
PARAM_RDN_LW = 115
PARAM_RDN_SW = 116
PARAM_RDN_GLBL = 117
-#PARAM_BRTMP = 118
+PARAM_BRTMP = 118
#PARAM_LWRAD = 119
#PARAM_SWRAD = 120
PARAM_LAT_HT = 121
PARAM_SEN_HT = 122
PARAM_BL_DISS = 123
@@ -527,11 +527,11 @@
PARAM_PRESSURE => ["Pressure", "PRES", "Pa" ,"air_pressure"],
PARAM_PMSL => ["Pressure reduced to MSL", "PRMSL", "Pa" , "air_pressure_at_sea_level"],
PARAM_PTND => ["Pressure tendency", "PTEND", "Pa/s", "tendency_of_air_pressure"],
# PARAM_ICAHT => nil,
PARAM_GPT => ["Geopotential", "GP", "m2/s2", "geopotential"],
- PARAM_GPT_HGT => ["Geopotential height", "HGTZ", "Gpm", "geopotential_height"],
+ PARAM_GPT_HGT => ["Geopotential height", "HGT", "Gpm", "geopotential_height"],
PARAM_GEOM_HGT => ["Geometric height", "DIST", "M", "altitude"],
PARAM_HSTDV => ["Standard deviation of height", "HSTDV", "M", "equivalent_thickness_at_stp_of_atmosphere_o3_content"],
PARAM_TOZNE => ["Total ozone", "TOZNE", "Dobson", "equivalent_thickness_at_stp_of_atmosphere_o3_content"],
PARAM_TEMP => ["Temperature", "TMP", "K", "air_temperature"],
PARAM_VTEMP => ["Virtual temperature", "VTMP", "K", "virtual_temperature"],
@@ -638,11 +638,11 @@
PARAM_RDN_SWTOP => ["Net short-wave radiation (top of atmos.)", "NSWRT", "W/m2", "toa_net_upward_shortwave_flux"],
PARAM_RDN_LWTOP => ["Net long wave radiation (top of atmos.)", "NLWRT", "W/m2", "toa_net_upward_longwave_flux"],
PARAM_RDN_LW => ["Long wave radiation", "LWAVR", "W/m2", "net_upward_longwave_flux_in_air"],
PARAM_RDN_SW => ["Short wave radiation", "SWAVR", "W/m2", "net_upward_shortwave_flux_in_air"],
PARAM_RDN_GLBL => ["Global radiation", "GRAD", "W/m2", "surface_downwelling_shortwave_flux"],
-# PARAM_BRTMP => nil,
+ PARAM_BRTMP => ["Brightness temperature", "BRTMP", "K", "brightness_temperature"],
# PARAM_LWRAD => nil,
# PARAM_SWRAD => nil,
PARAM_LAT_HT => ["Latent heat net flux", "LHTFL", "W/m2", "surface_upward_latent_heat_flux"],
PARAM_SEN_HT => ["Sensible heat net flux", "SHTFL", "W/m2", "surface_upward_sensible_heat_flux"],
PARAM_BL_DISS => ["Boundary layer dissipation", "VLYDP", "W/m2", nil],
@@ -1461,5 +1461,28 @@
249 => PARAM_VDFMR,
250 => PARAM_SWHR,
251 => PARAM_LWHR,
253 => PARAM_LRGMR,
}
+
+## JRA parameter code table
+## JRA-55: Code Table 200:
+## http://rda.ucar.edu/datasets/ds628.0/#metadata/grib.html?_do=y
+## Ref JRA-25:
+## http://rda.ucar.edu/datasets/ds625.0/docs/jra-25_grib_table.html
+## POT_VOR is also 4 in JRA-25. Otherwise, JRA-25 is supported by
+## the PARAMS_JMA table (as of 2014-08)
+PARAMS_JRA55 = PARAMS_2.merge( PARAMS_JMA )
+PARAMS_JRA55[4] = PARAM_POT_VOR
+PARAMS_JRA55[118] = PARAM_BRTMP # 118 is mean surface pressure in JRA-25
+PARAMS_JRA55[221] = PARAM_CLWMR
+PARAMS_JRA55[225] = PARAM_SOILW
+=begin
+Yet to be supported (JRA-55)
+190 UTHE Zonal thermal energy flux W m-1
+191 VTHE Meridional thermal energy flux W m-1
+226 SMC Mass concentration of condensed water in soil kg m-3
+227 CW Cloud liquid water kg m-2
+228 CLWC Cloud liquid water kg kg-1
+229 CIWC Cloud ice kg kg-1
+252 VTYPE Type of vegetation code
+=end