-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from CAB-LAB/static_vars
Static vars
- Loading branch information
Showing
14 changed files
with
603 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# News | ||
|
||
## v0.2 | ||
|
||
* a list of pre-defined lon-lat boxes was added that can be accessed when calling `getCubeData`, so for example `getCubeData(c,region="Germany")` will extract a Germany from the Cube. | ||
* Support for masks was extended, this includes multiple changes: | ||
- every cube now has a `properties` field, which contains a `Dict{String,Any}` where additional cube propertyies can be stored | ||
- if an Integer-valued cube is used as a categorical mask one can add a Dict containg the mapping from value to label name to the cubes properties, eg `c.properties["labels"]=Dict(1=>"low",2=>"high")` | ||
- `plotMAP` will respect the defined label properties and use the labels for its legend | ||
- if a labeled cube is used in the `by` argument when fitting an `OnlineStat`, the output axis is automatically created | ||
- accessing a static variable (currently only water_mask or country_mask) through `getCubeData` will by default only return the first time step |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.