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

Generate time dim if it doesn't exist #623

Closed
1 task done
forman opened this issue Apr 22, 2018 · 2 comments
Closed
1 task done

Generate time dim if it doesn't exist #623

forman opened this issue Apr 22, 2018 · 2 comments

Comments

@forman
Copy link
Member

forman commented Apr 22, 2018

Expected behavior

Some NC datasets provide time coverage information using attributes time_coverage_start, time_coverage_end but don't define a time dimension and coordinate variable, e.g. Land Cover CCI.

Cate should generate the missing time dimension and coordinate variable if it finds the attributes time_coverage_start, time_coverage_end.

Actual behavior

Some operations raise errors if a dataset is lacking a time coordinate variable.

Merging of many such datasets has been addressed in #575 in order to fix #514 but that is not a general solution as it just adds a time dimension, but not a time coordinate variable.

Specifications

Cate 1.0 - 2.0.dev9

EDIT:

  • we must add the time dim when opening datasets from ODP so that timeseries of Land Cover CCI and other ECVs have a time dim
@forman
Copy link
Member Author

forman commented May 1, 2018

Reopen as we always want to add a missing time dim when opening datasets.

@forman
Copy link
Member Author

forman commented Jun 8, 2018

Prosper said it's closed now.

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