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

Subset spatial expands 1D variables to 3D #786

Closed
JanisGailis opened this issue Sep 28, 2018 · 0 comments
Closed

Subset spatial expands 1D variables to 3D #786

JanisGailis opened this issue Sep 28, 2018 · 0 comments
Assignees

Comments

@JanisGailis
Copy link
Member

When spatial_subset is run on a dataset that includes a non-spatial variable with only a 'time' dimension, such dataset will be 'expanded' to a time/lat/lon dataset covering the whole subset.

Expected behavior

subset_spatial shouldn't change non-spatial data variables.

Steps to reproduce the problem

  1. Open ocean color dataset
  2. run spatial_subset on it
  3. Observe the crs variable changing dtype from float to int and having time/lat/lon dimensions afterwards.

Specifications

cate 2.0.0.dev21

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

1 participant