Hi,
I am working on a database reader for VisIt visualization software to
handle a specific type of netcdf dataset. I need a metadata file to
describe the dataset, and ncml was suggested. I'd like to know if it's
suitable for our use case.
In this dataset, each array may be in a file group or a single file
depending on how the simulation is run. When an array is in a file group
each file has some of the times. The purpose of the metadata file is to
enumerate the available time values, enumerate the available fields, and
to provide enough information to construct a map from field name and
time value to a particular file where that data resides.
What I'm after is something like:
<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
<aggregation dimName="time" type="joinExisting">
<variableAgg name="pressure"/>
<netcdf location="file:pressure_19010101_000000.nc" coordValue="1038 7823"/>
<netcdf location="file:pressure_19010103_000000.nc" coordValue="66234
89237"/>
</aggregation>
<aggregation dimName="time" type="joinExisting">
<variableAgg name="vorticity"/>
<netcdf location="file:vorticity_19010101_000000.nc" coordValue="1038
7823"/>
<netcdf location="file:orticity_19010103_000000.nc" coordValue="66234
89237"/>
</aggregation>
</netcdf>
But I don't think it's valid ncml because I need multiple aggregations...
Is ncml suitable for this application? If so what would be valid way to
represent multiple aggregations in one ncml xml file?
Thanks for your help
Burlen