读R中的Grib数据 - 读取波段名称

时间:2016-05-13 09:03:16

标签: r rgdal grib

目前我可以使用rgdal读取R中的grib文件,但我真的不知道这个文件包含的band的名称是什么。例如,下面是我正在使用的grib数据。

http://hydro1.gesdisc.eosdis.nasa.gov/data/s4pa//GLDAS_V1/GLDAS_NOAH025SUBP_3H/2016/091/GLDAS_NOAH025SUBP_3H.A2016091.2100.001.2016099220519.grb

library(rgdal)
library(sp)

fname = "GLDAS_NOAH025SUBP_3H.A2016091.2100.001.2016099220519.grb"
gribdata = readGDAL(fname) 

summary(gribdata)

band01 = gribdata@data[[1]]
band28 = gribdata@data[[28]]
dim(band01) = c(1440,600)
dim(band28) = c(1440,600)

我可以阅读第一和第28乐队;但我不知道这些频段是什么(哪个参数)。

“摘要”功能也无济于事。你能帮忙,我怎么学习这个文件包含的乐队的名字?

1 个答案:

答案 0 :(得分:0)

README(您指明的位置相同)是指this page

Parameters:

Water Balance parameters
086: Average layer soil moisture (# layers: CLM, 10; Mosaic, 3; Noah, 4; VIC, 3)
065: Snow water equivalent
071: Total canopy water storage
132: Rainfall rate
131: Snowfall rate
099: Snowmelt
235: Surface runoff
234: Subsurface runoff
057: Total evapotranspiration

Energy Balance parameters
111: Net shortwave radiation
112: Net longwave radiation
122: Sensible heat flux
121: Latent heat flux
155: Ground heat flux
138: Average surface temperature
085: Average layer soil temperature (# layers: CLM, 10; Noah, 4)

Forcing parameters
204: Surface incident shortwave radiation
205: Surface incident longwave radiation
011: Near surface air temperature
051: Near surface specific humidity
032: Near surface wind magnitude
001: Surface pressure
132: Rainfall rate (included in Water Balance)
131: Snowfall rate (included in Water Balance)

Static parameters
Elevation
Dominant vegetation type
Soil sand fraction
Soil silt fraction
Soil clay fraction