climix issueshttps://git.smhi.se/climix/climix/-/issues2024-02-20T07:29:40Zhttps://git.smhi.se/climix/climix/-/issues/348Remove local (SMHI) definitions2024-02-20T07:29:40ZLars BärringRemove local (SMHI) definitionsRemove the file `/climix/etc/SMHI_extra.yml` that contains local SMHI index definitions.
ping @joakim.low @a002527Remove the file `/climix/etc/SMHI_extra.yml` that contains local SMHI index definitions.
ping @joakim.low @a002527Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/347Update Climix author list2024-02-20T07:29:37ZLars BärringUpdate Climix author listAdd Carolina and Joakim as authors of Climix.Add Carolina and Joakim as authors of Climix.Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/346Fix Numba error in spell function tests2024-02-21T10:30:20ZJoakim LöwFix Numba error in spell function testsRunning the tests (`test_spell_functions`) throws an error from Numba. Has to do with undefined variables.Running the tests (`test_spell_functions`) throws an error from Numba. Has to do with undefined variables.https://git.smhi.se/climix/climix/-/issues/345Documentation improvements v0.21 [3/3]2024-03-12T14:45:01ZJoakim LöwDocumentation improvements v0.21 [3/3]https://git.smhi.se/climix/climix/-/issues/344Gordias dependency [1/1]2024-03-12T14:45:29ZJoakim LöwGordias dependency [1/1]https://git.smhi.se/climix/climix/-/issues/343Climix documentation structure on readthedocs2024-02-20T07:29:34ZJoakim LöwClimix documentation structure on readthedocsThe table of content includes climate indices and documentation index, seen on the first page. The word 'index' has two different meanings in these two cases, which is somewhat confusing. Also 'Index' link is empty. Restructure, and poss...The table of content includes climate indices and documentation index, seen on the first page. The word 'index' has two different meanings in these two cases, which is somewhat confusing. Also 'Index' link is empty. Restructure, and possibly remove some links, to make it more clear.0.21Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/342Updating documentation for new clix-meta version2023-11-30T11:00:04ZCarolina NilssonUpdating documentation for new clix-meta versionWhen updating clix-meta in climix we should also update the documentation with the new version.When updating clix-meta in climix we should also update the documentation with the new version.0.20 (Urbane Goat)Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/341add pandas to requirements2023-11-15T17:00:57ZLars Bärringadd pandas to requirementsI tried to update from a really old install and then got the error:
```bash
>pip install -e .
Obtaining file:///home/sm_lbarr/CODE/climix
Installing build dependencies ... done
Checking if build backend supports build_editable ... d...I tried to update from a really old install and then got the error:
```bash
>pip install -e .
Obtaining file:///home/sm_lbarr/CODE/climix
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
...
Building wheels for collected packages: climix
Building editable for climix (pyproject.toml) ... done
...
Successfully installed bottleneck-1.3.7 climix-0.20.0.dev3+g6efeda6 heapdict-1.0.1 isodate-0.6.1 msgpack-1.0.7 psutil-5.9.6 sortedcontainers-2.4.0 tblib-3.0.0 tornado-6.3.3
>climix -h
Traceback (most recent call last):
File "/home/sm_lbarr/.conda/envs/climix-devel/bin/climix", line 5, in <module>
from climix.main import main
File "/home/sm_lbarr/CODE/climix/climix/main.py", line 16, in <module>
from .datahandling import prepare_input_data, save
File "/home/sm_lbarr/CODE/climix/climix/datahandling.py", line 16, in <module>
from .util import find_cube_differences
File "/home/sm_lbarr/CODE/climix/climix/util/__init__.py", line 4, in <module>
from .cube_diffs import find_cube_differences
File "/home/sm_lbarr/CODE/climix/climix/util/cube_diffs.py", line 7, in <module>
import pandas as pd
ModuleNotFoundError: No module named 'pandas'
```
A manual install of pandas did the trick.0.20 (Urbane Goat)Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/340Pull in the soon-to-come new Clix-meta version 0.6.12023-11-28T14:18:08ZLars BärringPull in the soon-to-come new Clix-meta version 0.6.1The new version will have the updated description of vegetation indices, `gsstart`, `gsend` and `gsl`The new version will have the updated description of vegetation indices, `gsstart`, `gsend` and `gsl`0.20 (Urbane Goat)Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/339Climix cannot handle ERA5 filenames regarding outfilename construction2024-02-02T12:31:31ZRenate WilckeClimix cannot handle ERA5 filenames regarding outfilename constructionERA5 has a different filename structure than climate model data. Which, according to Joakim, is rather a ESMValTool issue. However, the climix outfiles when running on ERA5 data (/nobackup/rossby27/users/sm_joalo/data/copernicus/era5/day...ERA5 has a different filename structure than climate model data. Which, according to Joakim, is rather a ESMValTool issue. However, the climix outfiles when running on ERA5 data (/nobackup/rossby27/users/sm_joalo/data/copernicus/era5/day/) is off.
Examples for half working (when only one variable is used):
/nobackup/rossby26/users/sm_renwi/DATA/climixout/ERA5/annual/su_ERA5_reanaly_v1_yr_tasmax_19400101-20211231.nc
Example for not at all working (when two variables are used):
/nobackup/rossby26/users/sm_renwi/DATA/climixout/ERA5/annual/dtr_yr.nc
Bashscript for running climix are here:
/home/sm_renwi/Scripts/climix2/runscripts/era5/su/annual/https://git.smhi.se/climix/climix/-/issues/338Wishlist for new indeces related to growing season2023-10-30T16:58:22ZJohan SödlingWishlist for new indeces related to growing seasonI am using Climix in some consultant projects, and for an upcoming project we would like to calculate indeces during the growing season, such as:
- The total precipitation volume (rr) during the growing season
- The number of days with m...I am using Climix in some consultant projects, and for an upcoming project we would like to calculate indeces during the growing season, such as:
- The total precipitation volume (rr) during the growing season
- The number of days with mean daily temperature > X degrees during the growing season
- The number of days with precipitation > 0 during the growing season
In a more general sense it would be nice if basically any Climix index could be calculated but only for timesteps within the vegetation periods.
I would also like it if the parameters used in calculation of the growing season were flexible (so that the user can choose the temperature and days threshold used in its calculation).https://git.smhi.se/climix/climix/-/issues/337Place for climix logo files2023-11-06T10:13:01ZJoakim LöwPlace for climix logo files- Find good place/folder for storing the official climix logo files
- Also add climix logo as favicon- Find good place/folder for storing the official climix logo files
- Also add climix logo as favicon0.20 (Urbane Goat)Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/336Add testes for percentile functions2023-09-29T08:11:41ZCarolina NilssonAdd testes for percentile functionsThe percentile functions needs tests.The percentile functions needs tests.https://git.smhi.se/climix/climix/-/issues/335Use numpys array_equal function in tests2023-09-21T10:11:04ZCarolina NilssonUse numpys array_equal function in testsWhen having tests that produces nan-values as a valid result we want to be able to test this. As it is right now comparing two nan-values will result in not equal. To be able of comparing nan-values we can switch to using numpy function ...When having tests that produces nan-values as a valid result we want to be able to test this. As it is right now comparing two nan-values will result in not equal. To be able of comparing nan-values we can switch to using numpy function array_equal and set input parameter equal_nan = True. This function also compares shapes of the result and the data values underneath masked values. Switching to the array_equal function generates some errors in the tests listed bellow:
- [x] FirstOccurrence and LastOccurrence, call/lazy function last test generates an error due to inaccurate shape of expected output. (Error in test parameters)
- [x] Percentile and ThresholdedPercentile, call function all tests returns an inaccurate shape of result. (Error in call function)
- [x] ThresholdedRunningStatistics, call/lazy function tests 2 and 4 returns an error due to wrong data value underneath the mask in the expected output. (Error in test parameters)0.20 (Urbane Goat)Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/334Implement connection to Gordias2024-02-20T07:29:31ZCarolina NilssonImplement connection to GordiasWhen Gordias becomes available we need to implement it in climix and remove some unnecessary files.When Gordias becomes available we need to implement it in climix and remove some unnecessary files.0.21Carolina NilssonCarolina Nilssonhttps://git.smhi.se/climix/climix/-/issues/333Document release process2024-03-07T13:41:37ZKlaus ZimmermannDocument release processAt the moment, the release process is rather manual and undocumented. We should have a checklist that is easy to follow, probably as part of the documentation, possibly using the issue/merge request system.At the moment, the release process is rather manual and undocumented. We should have a checklist that is easy to follow, probably as part of the documentation, possibly using the issue/merge request system.0.21Joakim LöwJoakim Löwhttps://git.smhi.se/climix/climix/-/issues/332Update changelog for release 0.19.02023-09-14T12:18:50ZKlaus ZimmermannUpdate changelog for release 0.19.00.19 (Poco Mas)Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/331Update index documentation2023-09-14T12:09:29ZKlaus ZimmermannUpdate index documentationIn !237, we updated the climate index definitions to clix-meta-0.6.0, but we still need to bring the documentation up to speed.In !237, we updated the climate index definitions to clix-meta-0.6.0, but we still need to bring the documentation up to speed.0.19 (Poco Mas)Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/330Blackify code base2023-09-14T08:32:15ZKlaus ZimmermannBlackify code baseMost of our code already follows Black standards thanks to pre-commit et al. However, over time a few deviations have crept in. To make future changes easier, we should do a one-shot blackification of the existing code base.Most of our code already follows Black standards thanks to pre-commit et al. However, over time a few deviations have crept in. To make future changes easier, we should do a one-shot blackification of the existing code base.0.19 (Poco Mas)Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/329Index: Accumulated precip with Temperature below 02024-02-02T12:13:47ZJoakim LöwIndex: Accumulated precip with Temperature below 0Similar to index function: `TemperatureSum` (index: hd17)
This issue replaces #296
Note: check if it's ok to add index definition in `SMHI_extra.yml`.Similar to index function: `TemperatureSum` (index: hd17)
This issue replaces #296
Note: check if it's ok to add index definition in `SMHI_extra.yml`.Renate WilckeRenate Wilcke