Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

ncWMS2 renders incorrect imagery from NcML aggregates #968

Open
danwild opened this issue Dec 8, 2017 · 5 comments
Open

ncWMS2 renders incorrect imagery from NcML aggregates #968

danwild opened this issue Dec 8, 2017 · 5 comments

Comments

@danwild
Copy link

danwild commented Dec 8, 2017

I'm using v5.0.0-alpha3.

I have a fairly simple aggregate, which performs a joinExisting on a directory of files with single time steps in each file:

<netcdf xmlns="https://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
  <aggregation dimName="time" type="joinExisting">
    <scan location="/usr/local/tds/apache-tomcat-8.5.23/content/thredds/public/aggdata/" suffix="*.nc" subdirs="false" />
    </aggregation>
</netcdf>

The virtual dataset produced by this aggregation is correct.. however, when accessing the resulting WMS services the same imagery is returned regardless of the time parameter. The correct time steps are declared in GetCapabilities, but no matter which of these time steps you request in a GetMap query - it always returns the same image.

I have just deployed ncWMS (v2.2.12) as a separate application in tomcat, and am able to publish a WMS service using the OpenDAP endpoint derived from the same virtual dataset - and this behaves as expected.

@lesserwhirls
Copy link
Collaborator

I think this might be related to #977. I'm going to try to get a a snapshot version of 5.0 out with updated edal-java libraries to see if that fixes things, and will let you know when that is available. Thanks!

@lesserwhirls
Copy link
Collaborator

I have an updated version of edal-java in the TDS now - would it be possible to get a few files from your aggregation for me to try locally?

@SvenDowideit
Copy link

ooo, @danwild I'm following you around :)

I'm going to guess the data is from either gbr1_2.0 or gbr4_2.0 at https://dapds00.nci.org.au/thredds/catalog/catalogs/fx3/catalog.html

@danwild
Copy link
Author

danwild commented Feb 13, 2018

@lesserwhirls I have finally sent you some example files (check email).

@lesserwhirls lesserwhirls added this to the TDS v5.0.0 beta milestone Feb 21, 2018
@geojs
Copy link
Contributor

geojs commented May 28, 2018

I have the same issue with the tds 5.0.0 snapshot:
https://artifacts.unidata.ucar.edu/repository/unidata-snapshots/edu/ucar/tds/5.0.0-SNAPSHOT/tds-5.0.0-20180428.121827-443.war

But the getFeatureInfo is OK (values change with the time parameter).

If i update the edal jars to 1.4.1, the issue is the same:
https://github.com/Reading-eScience-Centre/edal-java/releases/tag/edal-1.4.1

(maybe related to #1041)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants