Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Upsampling failed #348

Closed
thomas-eldridge opened this issue Sep 7, 2017 · 1 comment
Closed

Upsampling failed #348

thomas-eldridge opened this issue Sep 7, 2017 · 1 comment
Assignees
Milestone

Comments

@thomas-eldridge
Copy link

Expected behavior

A slave dataset with spatial resolution lower than the master dataset should be resampled to the spatial resolution of the master

Actual behavior

Error message 'ValueError: O3_du data array of slave dataset is not valid for coregistration. Expected coordinates are (lat, lon, time), received coordinates are ('time', 'layers', 'lat', 'lon'), consider running select_var and/or normalize operations first.'

I tried to select a variable and normalize the ds - still get same error message. Cannot figure out how to select an individual layer within a 3D dataset.

Steps to reproduce the problem

  1. Open ozone dataset as resource
  2. Open cloud dataset as resource
  3. Apply operation 'coregister' with ozone as slave and cloud as master; use defaults.

Note: downsampling (using ozone as master and cloud as slave) works fine. Further, if the newly resampled cloud ds is used as a slave, and the old cloud ds is used as the master, the operation raises no errors (but does not show data) - implication is that this fails with datasets with a z-dim.

Specifications

Cate 0.9.0-dev6

@JanisGailis
Copy link
Member

#36

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