I'm trying to make a netCDF dataset (derived from NCEP/DOE Reanalysis 2)
available on my thredds server via WCS.
The problem is, if I just put it as is, no data is provided in ContentMetadata
section of response on GetCapabilities request (so, DescribeCoverage and
GetCoverage requests don't work at all).
It seems that variables and dimensions named 'lon' and 'lat' should be renamed
to 'x' and 'y' correspondingly. If I make these changes in the file itself, all
kinds of WCS requests are able to be performed. However, this is not the
acceptable solution, as files have to be stored without changes.
Also, I've tried renaming variables and dimension via NcML as follows:
...
<dimension name="x" orgName="lon" length="192"/>
<dimension name="y" orgname="lat" length="94"/>
<variable name="x" orgName="lon" shape="x"/>
<variable name="y" orgName="lat" shape="y"/>
<variable name="uwnd" orgName="uwnd" shape="time y x"/>
<variable name="land" orgName="land" shape="y x"/>
<variable name="hgt" orgName="hgt" shape="y x"/>
...
Getting access through OPenDAP query form, I see that all stuff is renamed in
correct way, but there's no affect on WCS (ContentMetadata in response on
GetCapabilities is still empty). I suppose only representation to a client is
affected.
Is there any way to rename variables and dimensions virtually so that renaming
would affect not only presentation to a client but also allow WCS service work
correctly using these virtual naming? (Or maybe there's some way to make WCS
work even without dimensions renaming?)