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

Commit

Permalink
#373 ds, fixed reading obsolete temporal_coverage timerange
Browse files Browse the repository at this point in the history
(cherry picked from commit 5abfcac)
  • Loading branch information
Krzysztof (Chris) Bernat authored and kbernat committed Sep 20, 2017
1 parent 5d78ba2 commit 2c88d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

### Issues Fixed/Resolved

* Fixed reading datasource temporal coverage from config file (obsolete format)
[#373](https://github.com/CCI-Tools/cate-core/issues/373)
* Merged (removed duplicated) meta information in datasource config file
[#301](https://github.com/CCI-Tools/cate-core/issues/301)
* Land Cover CCI display must use dedicated color map
Expand Down
2 changes: 1 addition & 1 deletion cate/ds/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def from_json_dict(cls, json_dict: dict, data_store: 'LocalDataStore') -> Option

meta_data = json_dict.get('meta_data', None)
if meta_data:
temporal_coverage = meta_data.get('temporal_coverage', None)
temporal_coverage = meta_data.get('temporal_coverage', meta_data.get('temporal_covrage', None))
spatial_coverage = meta_data.get('spatial_coverage', None)
variables = meta_data.get('variables', None)

Expand Down

0 comments on commit 2c88d8e

Please sign in to comment.