[thredds] WCS service cannot recognize coverage without dimensions renaming - ways to rename virtually?

  • To: "thredds@xxxxxxxxxxxxxxxx" <thredds@xxxxxxxxxxxxxxxx>
  • Subject: [thredds] WCS service cannot recognize coverage without dimensions renaming - ways to rename virtually?
  • From: Бурова Надежда Александровна <naburova@xxxxxxxxxx>
  • Date: Mon, 7 Mar 2022 08:06:00 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=edu.hse.ru; dmarc=pass action=none header.from=edu.hse.ru; dkim=pass header.d=edu.hse.ru; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kzk3Ib7avUX5h4bc1ph/AdaY3nesnPJyalECfInhezg=; b=B+mMBI1O1ClhWaFXmhFkiY9lGF+qhl0Y/gUytp8Em1NfCcGKMjziri+jGoLOIooFOh0c4QXBAPLrBTCrZpcs1Xc6mmVteYrGpqoDZ/f/7uINGKCQVCkGnNK1dz66XBMGgx9LMnwXjzdXbiLfYYqNaFlN2mnsU3cQKqU5+evlddfii0/+nV8pQGiaxWdE5LHkXGNERjkSpgAW5c/sR8ZP86xHQUUDPNxZ5kmH3qMGmtbX+VyDbyxyPDVTZ/E99U/Omovq3Ouky/F6mbPKM2h9PX2yYtXiua1kKL/uug9Rk1H4neAbey0CTThxNwAgisz+1Dc2ETu/i4F4eajlNNYLtQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IsKH+6vz5fm6MIsEBjzex9hV6gexyr56BkOXKzCcrEGxTX3I3cnOjNIV7i/PjMuRoRoSvVICAi532y4LItftXTmxBl3K+ytPjx1M8ji236vQ5lMaA0FveirIbC/O/ZJS8hHImX6MQ2VhwxJKuSO3/RyYydw5WSKxB5BaINmrsRUpZqIb+ISysHDStrjPN30M85XLeW47+qKe+IGKWckGr5d31eviPb6LuGPS67NrGkPkaaDIflkAYZm0fV/uMaYplKcMEwiCCyO7Jg/Mx5zqIu1m5xX4Lfe+xVYfxFM8WCxejnqorMGGhdsn7owuJSpJLqyvZeTCG5UchChoS/z4Nw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=edu.hse.ru;
  • Suggested_attachment_session_id: 4aa05b06-0f27-cdf6-e0b0-6655dca70f6d
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?)
  • 2022 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: