climix merge requestshttps://git.smhi.se/climix/climix/-/merge_requests2019-04-30T10:33:16Zhttps://git.smhi.se/climix/climix/-/merge_requests/7Add change_pr_units to util.2019-04-30T10:33:16ZKlaus ZimmermannAdd change_pr_units to util.Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/merge_requests/6Add cube_diffs helper to util.2019-04-30T10:33:43ZKlaus ZimmermannAdd cube_diffs helper to util.Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/merge_requests/5Update to better metadata handling2019-05-13T13:52:27ZLars BärringUpdate to better metadata handlingKlaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/36WIP: FIrst go at beginning/end of spell2019-05-28T07:57:32ZLars BärringWIP: FIrst go at beginning/end of spell@a002160 : Could you have a look at the code and see if it has prospects to be merged [later]. If so, I will continue to create the corresponding metadata.yaml, which will be separate at least until later because these indices are non-ET.@a002160 : Could you have a look at the code and see if it has prospects to be merged [later]. If so, I will continue to create the corresponding metadata.yaml, which will be separate at least until later because these indices are non-ET.https://git.smhi.se/climix/climix/-/merge_requests/38Variable no_runs renamed to n_runs to avoid misunderstanding2019-05-28T12:49:38ZLars BärringVariable no_runs renamed to n_runs to avoid misunderstandingVariable named `no_runs` is easily misinterpreted to mean "no runs" rather than "number of runs". Thus changed to `n_runs` where the "n" part is often used to signify "number of".Variable named `no_runs` is easily misinterpreted to mean "no runs" rather than "number of runs". Thus changed to `n_runs` where the "n" part is often used to signify "number of".Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/39WIP: Index sdii (closes #7)2019-05-28T20:59:25ZLars BärringWIP: Index sdii (closes #7)If index_function sdii [class SDII] is only to be used for index sdii then neither reducer nor threshold is needed. It involves a statistic based on data at or above a threshold, thus is does not fit perfectly with the other indices in t...If index_function sdii [class SDII] is only to be used for index sdii then neither reducer nor threshold is needed. It involves a statistic based on data at or above a threshold, thus is does not fit perfectly with the other indices in the simple stats group, as per the [preliminary grouping](https://git.smhi.se/climix/climix/issues/62#note_4486)Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/47closes #872019-07-02T14:47:38ZLars Bärringcloses #870.6.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/37WIP: index_functions for first occurence2019-07-02T19:54:38ZLars BärringWIP: index_functions for first occurence@a002160 : Could you have a look at the code and see if it has prospects to be merged [later] when completed. If so, I will continue to create the corresponding metadata.yaml entries, which will be in a separate file from the main metada...@a002160 : Could you have a look at the code and see if it has prospects to be merged [later] when completed. If so, I will continue to create the corresponding metadata.yaml entries, which will be in a separate file from the main metadata.yaml, at least until later because these indices are non-ET.https://git.smhi.se/climix/climix/-/merge_requests/52WIP: index_function for first_occurence, and index First autumn frost (faf)2019-07-03T18:15:39ZLars BärringWIP: index_function for first_occurence, and index First autumn frost (faf)Resolved some initial issues. Remains
* error related to no standard name
* how to handle "no occurrence" differently from missing dataResolved some initial issues. Remains
* error related to no standard name
* how to handle "no occurrence" differently from missing data0.7.0Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/merge_requests/42WIP: Index function first occurrence (following on from !37)2019-07-03T18:18:33ZLars BärringWIP: Index function first occurrence (following on from !37)0.7.0Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/merge_requests/46WIP: Index function last occurrence (towards closing #64)2019-07-03T18:43:58ZLars BärringWIP: Index function last occurrence (towards closing #64)Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/merge_requests/54WIP: Index function last occurrence2019-07-04T07:30:31ZLars BärringWIP: Index function last occurrenceThis branch was tested by merging with branch `first_autumn_frost`. The following issues remains:
* [ ] proper metadata to distinguish between missing data and no occurrence (#93)
* [ ] day-of-year is counted from beginning of the sea...This branch was tested by merging with branch `first_autumn_frost`. The following issues remains:
* [ ] proper metadata to distinguish between missing data and no occurrence (#93)
* [ ] day-of-year is counted from beginning of the season, not beginning of the year (#94)
* [ ] the `first_autumn_frost` is an `annual` index (not a seasonal one) (#95)0.7.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/82Divided metadata.yml into an upper part and a lower (generated part)2019-11-08T16:15:01ZLars BärringDivided metadata.yml into an upper part and a lower (generated part)* The upper part consists of the index function metadata and the
non-standard indices
* Additionally there is a small script to join them into metadata.yml
This is an intermediate solution (awaiting #19) that would allow me to draw on t...* The upper part consists of the index function metadata and the
non-standard indices
* Additionally there is a small script to join them into metadata.yml
This is an intermediate solution (awaiting #19) that would allow me to draw on the same metadata.yml file(s) without having
to copy/paste between them to draw on changes as new index functions are developed.
If this quickly introduced into master then I will rebase the index_function merge requests to allow for better testing.Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/101WIP: yaml definition of the nzero index (closes #146)2020-02-04T15:51:19ZLars BärringWIP: yaml definition of the nzero index (closes #146)This index requires index function `count_level_crossings`, which takes two input cubes (data streams).This index requires index function `count_level_crossings`, which takes two input cubes (data streams).0.11.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/116WIP: Index function running statistics (closes #86)2020-10-21T14:43:01ZLars BärringWIP: Index function running statistics (closes #86)Ready for code review + help to sort out ``super().__init__(...`` error messages.
To test this index function I have created a mockup -- but not implausible -- index in the table; ``txmax5daymean``.
```
/home/sm_lbarr/PROJ/test_climix/t...Ready for code review + help to sort out ``super().__init__(...`` error messages.
To test this index function I have created a mockup -- but not implausible -- index in the table; ``txmax5daymean``.
```
/home/sm_lbarr/PROJ/test_climix/trun.sh # test script
/home/sm_lbarr/PROJ/test_climix/slurm-11439954.out # slurm log
```
Coming suit is the index function ``thresholded_running_statistics`` with real indices (``rx5day``, ``rx{ND}day``).Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/144Closes #2062020-10-23T09:30:50ZLars BärringCloses #206Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/143added snw in variable metadata2020-10-26T18:19:25ZLars Bärringadded snw in variable metadata`snw` added to the variable list in `variable.yml`. Tested successfully with the tailored index `snwgt5``snw` added to the variable list in `variable.yml`. Tested successfully with the tailored index `snwgt5`0.15Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/merge_requests/131WIP: Added debug logging of metadata files. Closes #186.2020-10-26T19:03:10ZLars BärringWIP: Added debug logging of metadata files. Closes #186.Added debug level logging of which directories are scanned for metadata and which index definition files are read.Added debug level logging of which directories are scanned for metadata and which index definition files are read.https://git.smhi.se/climix/climix/-/merge_requests/132WIP: Index function diurnal_temperature_range: introduce reducer as argument ...2021-02-18T21:21:54ZLars BärringWIP: Index function diurnal_temperature_range: introduce reducer as argument instead of being hard-coded (closes #187)Requires master_table.xlsx version that implements [cf_index_meta issue #13](https://bitbucket.org/cf-index-meta/cf-index-meta/issues/13/update-index-function-dtr-to-become-more)Requires master_table.xlsx version that implements [cf_index_meta issue #13](https://bitbucket.org/cf-index-meta/cf-index-meta/issues/13/update-index-function-dtr-to-become-more)Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/merge_requests/145Fix double _freq_ elements in output files (closes #214)2021-02-22T10:30:34ZLars BärringFix double _freq_ elements in output files (closes #214)0.13.2Klaus ZimmermannKlaus Zimmermann