-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add or edit multiple __set__ functions. (#150)
* Created a _calculate_scale_factor function in templates.py to be used in the new ValueOf* __set__ functions. * Added __set__ functions to all the ValueOf* classes that behind the scenes use the ScaledValue* and ScaleFactor* setters. * Changed the ValueOf* __get__ to behind the scenes use the ScaledValue* and ScaleFactor * Fixed the LeadTime __set__ for messages that are an accumulating statistic to set both LeadTime to the beginning of the accumulating period and the accumulating end date to the appropriate parts of section4. * Now when writing with to_grib2 the messages will be sorted, if writing from a DataSet will sort on shortName, then for each DataArray will sort on dimension names, then sort dimension values.
- Loading branch information
1 parent
b4c4266
commit e67a9be
Showing
3 changed files
with
91 additions
and
40 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
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