climix issueshttps://git.smhi.se/climix/climix/-/issues2019-07-02T14:27:52Zhttps://git.smhi.se/climix/climix/-/issues/91Index function SpellLength is broken2019-07-02T14:27:52ZKlaus ZimmermannIndex function SpellLength is brokenIn 6ddf6358571f9783367569c320276e7ab979f70c calculations where moved to the index functions, but spell_length was not treated properly.In 6ddf6358571f9783367569c320276e7ab979f70c calculations where moved to the index functions, but spell_length was not treated properly.0.5.1Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/90Typo: CountOccurences2019-07-02T14:44:42ZLars BärringTypo: CountOccurencesCurrently wrong spelling. This needs to be corrected to avoid propagation to upcoming index functions.
Correct (and slightly adjusted) spelling should be `CountOccurrence` (singular)and to make it consistent with the upcoming `FirstOccur...Currently wrong spelling. This needs to be corrected to avoid propagation to upcoming index functions.
Correct (and slightly adjusted) spelling should be `CountOccurrence` (singular)and to make it consistent with the upcoming `FirstOccurrence` and `LastOccurrence`0.5.1https://git.smhi.se/climix/climix/-/issues/87Accept input files without creation_date and /or tracking_id2019-07-02T14:23:51ZLars BärringAccept input files without creation_date and /or tracking_idclimix currently trips if either of these global metadata attributes are missingclimix currently trips if either of these global metadata attributes are missing0.6.0https://git.smhi.se/climix/climix/-/issues/71likely bug in count_occurrences2019-07-02T14:13:44ZLars Bärringlikely bug in count_occurrences```python
def __init__(self, threshold, condition):
self.threshold = threshold
self.condition = NUMPY_OPERATORS[condition]
self.lazy_condition = DASK_OPERATORS[condition]
self.condition = condition # <...```python
def __init__(self, threshold, condition):
self.threshold = threshold
self.condition = NUMPY_OPERATORS[condition]
self.lazy_condition = DASK_OPERATORS[condition]
self.condition = condition # <---- should be removed
self.standard_name = None
self.units = Unit('days')
```
[Link to code line here](https://git.smhi.se/climix/climix/blob/master/climix/index_functions.py#L66)0.6.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/67Fix output unit handling2019-05-29T12:19:52ZKlaus ZimmermannFix output unit handlingSince the changing of units usually changes the data itself, it can not be handled in the `update_metadata` routine of the aggregator, but instead must take place in its `post_process` method.Since the changing of units usually changes the data itself, it can not be handled in the `update_metadata` routine of the aggregator, but instead must take place in its `post_process` method.0.5.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/66Correct output units2019-05-29T10:51:49ZKlaus ZimmermannCorrect output unitsAt the moment, output units are simply assigned as the units from the metadata.
This worked, because for spell_length the units don't depend on the input. However, when in general the units need to be computed by the index_function, not ...At the moment, output units are simply assigned as the units from the metadata.
This worked, because for spell_length the units don't depend on the input. However, when in general the units need to be computed by the index_function, not the aggregator.0.5.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/59Formatting errors in r10mm index2019-05-17T12:50:31ZKlaus ZimmermannFormatting errors in r10mm indexThere are a few formatting errors in the definition for the index r10mm.
This prevents climix from running.There are a few formatting errors in the definition for the index r10mm.
This prevents climix from running.0.4.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/44cwd has wrong operator2019-05-17T11:05:30ZKlaus Zimmermanncwd has wrong operatorcwd uses > instead of the correct >=. This was done due to problems with the standard name, but is not acceptable.cwd uses > instead of the correct >=. This was done due to problems with the standard name, but is not acceptable.0.4.0Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/283New indicator Tmin>0 P=>12023-04-19T15:05:32ZGustav StrandbergNew indicator Tmin>0 P=>1Number of days with plus degrees and precipitation.
Since we are only working with precipitation (not just rain) it makes sense to use Tmin to reduce the number of days with snow an plus degrees as much as possible.
Question: Is it ok ...Number of days with plus degrees and precipitation.
Since we are only working with precipitation (not just rain) it makes sense to use Tmin to reduce the number of days with snow an plus degrees as much as possible.
Question: Is it ok to set the threshold of precipitation at 1 mm/day (not zero) in the same way as we do for e.g. precipitation days?0.17 (Black Lion)Carolina NilssonCarolina Nilsson2023-02-28https://git.smhi.se/climix/climix/-/issues/282New indicator 13<Tx<182023-04-19T15:05:32ZGustav StrandbergNew indicator 13<Tx<18The number of days with Tmax above 13°C and below 18°C (13 < Tx < 18). Not sure what the short name will be.The number of days with Tmax above 13°C and below 18°C (13 < Tx < 18). Not sure what the short name will be.0.17 (Black Lion)Carolina NilssonCarolina Nilsson2023-02-28https://git.smhi.se/climix/climix/-/issues/268test for vegetation indices (gsl, gsstart, gsend)2023-11-07T10:38:37ZLars Bärringtest for vegetation indices (gsl, gsstart, gsend)The index for growing season length (`gsl`) is defined, but there is no "formal index" for its start (`gsstart`) and end (`gsend`). But these three indices can be calculated with CLIMIX.
Now some question marks about *gsend* have [arisen...The index for growing season length (`gsl`) is defined, but there is no "formal index" for its start (`gsstart`) and end (`gsend`). But these three indices can be calculated with CLIMIX.
Now some question marks about *gsend* have [arisen](#249). Among other things, it seems that *gsend* could occur before *gsstart*, as well as that we get `-1` as an answer in a number of more or less pathological situations.
For these three indices we would therefore need to run a number of simple test cases based on a single synthetic time series covering one or a few years.
Both *gsstart* and *gsend* use the index_function `first_spell` [=FirstSpell], while *gsl* uses `season_length` [=SeasonLength]. In this, the start date for *gsend* (July 1) has been simplified to day number 182.
Suggestions:
* The user creates an numpy array (length=365, or small multiple thereof) with synthetic data.
* A function converts this to a climix-compatible data cube, after which the three indices are calculated and the answers are returned to the user.
yaml file with index definitions can be found here:
/home/sm_klazi/.config/climix/test_indices.yml
```
GSL, Growing season length: Annual (1st Jan to 31st Dec in Northern Hemisphere (NH),
1st July to 30th June in Southern Hemisphere (SH)) count between first span of
at least 6 days with daily mean temperature TG>5°C and first span after July 1st
(Jan 1st in SH) of 6 days with TG<5°C.
Let TG_ij be daily mean temperature on day i in year j. Count the number of days between
the first occurrence of at least 6 consecutive days with:
TG_ij > 5°C
and the first occurrence after 1st July (1st Jan. in SH) of at least 6 consecutive days with:
TG_ij < 5°C.
```0.20 (Urbane Goat)Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/261Update YAML reader code to handle new format2022-11-15T14:05:50ZLars BärringUpdate YAML reader code to handle new formatCLIX-META yaml format has been updated (see [here](https://github.com/clix-meta/clix-meta/pull/70)). This needs to be reflected in the CLIMIX code.CLIX-META yaml format has been updated (see [here](https://github.com/clix-meta/clix-meta/pull/70)). This needs to be reflected in the CLIMIX code.Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/255More user friendly application of choice of period (monthly, seasonal, annual...2022-12-07T14:56:48ZRenate WilckeMore user friendly application of choice of period (monthly, seasonal, annual, user specific...)Right know the period on which the index is calculated is to be set in the yaml file
```yaml
period:
allowed:
annual:
monthly:
seasonal:
default: seasonal
```
and the default value is taken.
In...Right know the period on which the index is calculated is to be set in the yaml file
```yaml
period:
allowed:
annual:
monthly:
seasonal:
default: seasonal
```
and the default value is taken.
In case, like for klimatfabriken, one needs to calculate the index for multiple periods, it is very very error prone to have to change the default value in the yaml file, which lies somewhere long in the climix tree.
I think it is very necessary to add period to the parsed arguments from the command line, or find another solution.0.16Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/249End date of gsend2023-05-11T19:04:56ZGustav StrandbergEnd date of gsendIt seems like Climix set the day number to -1 when it passes 365. This messes up the trend in southern Sweden in the end of the century, where gsend is projected to be at December 31.It seems like Climix set the day number to -1 when it passes 365. This messes up the trend in southern Sweden in the end of the century, where gsend is projected to be at December 31.0.19 (Poco Mas)Lars BärringLars Bärringhttps://git.smhi.se/climix/climix/-/issues/216Growing season indices: start, end, length2023-12-12T10:04:23ZLars BärringGrowing season indices: start, end, length Index functions for calculating start/ end of growing seasom according to ETCCDI definition, with the exception that spatial dependency is not implemented ( i.e. the indices are only valid for the northern hemisphere).
**gsstart**: T... Index functions for calculating start/ end of growing seasom according to ETCCDI definition, with the exception that spatial dependency is not implemented ( i.e. the indices are only valid for the northern hemisphere).
**gsstart**: The first occurrence of at least 6 consecutive days with `tas > 5 °C`
**gsend**: The first occurrence after 1st July (Jan 1st in SH) of at least 6 consecutive days with `tas < 5 °C`.
**gsl**: Growing season length, calculated as the difference between `gsend` and `gsstart`0.20 (Urbane Goat)Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/193Non-CF cell methods should be empty2023-04-19T15:05:32ZLars BärringNon-CF cell methods should be emptyThis is an intermediate solution for version 1, waiting for the more thorough implementation in #52This is an intermediate solution for version 1, waiting for the more thorough implementation in #520.17 (Black Lion)Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/36Transfer/process input 'global' metadata to create output 'global' metadata2023-04-19T15:05:32ZLars BärringTransfer/process input 'global' metadata to create output 'global' metadata0.18 (Gull Olle)Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/366Validate Climix on freja2024-03-25T10:31:56ZJoakim LöwValidate Climix on freja- Test run climix
- Make sure jobscripts are working on freja, and update them if needed- Test run climix
- Make sure jobscripts are working on freja, and update them if neededJoakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/360Remove python 3.12 limit after Gordias update2024-03-25T10:32:00ZCarolina NilssonRemove python 3.12 limit after Gordias updateGordias will be fixed not to have the limit python<3.12. When a new Gordias has been released, remove the same limit for climixGordias will be fixed not to have the limit python<3.12. When a new Gordias has been released, remove the same limit for climixhttps://git.smhi.se/climix/climix/-/issues/350Cleanup v0.21 [2/2]2024-03-12T14:45:42ZJoakim LöwCleanup v0.21 [2/2]