【发布时间】:2019-01-05 03:17:45
【问题描述】:
我想聚合远程 THREDDS 目录的特定目录中的所有文件。这些是用于 nam 预测的 grib2 文件。 This 是每个月的主要目录列表。这是我的ncml 文件,用于聚合this catalog 文件:
<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2" >
<aggregation dimName="time" type="joinExisting">
<scan location="http://www.ncei.noaa.gov/thredds/dodsC/nam218/201807/20180723/" regExp="^.*\.grb2$" subdirs="false"/>
<dimension name="time" orgName="t" />
</aggregation>
</netcdf>
另外,我最感兴趣的是在文件中包含这两个变量:u-component_of_wind_height_above_ground 和 v-component_of_wind_height_above_ground。
我不确定 remote 目录中的上述聚合是否正确。我从上面的 ncml 文件中得到这个错误:
There are no datasets in the aggregation DatasetCollectionManager{ collectionName='http://www.ncei.noaa.gov/thredds/dodsC/nam218/201807/20180723/^.*\.grb2$' recheck=null dir=http://www.ncei.noaa.gov/thredds/dodsC/nam218/201807/20180723/ filter=^.*\.grb2$
这个ncml文件应该怎么写?
谢谢。
【问题讨论】: