climix issueshttps://git.smhi.se/climix/climix/-/issues2022-12-08T15:44:34Zhttps://git.smhi.se/climix/climix/-/issues/228Command line argument to specify index_definition file2022-12-08T15:44:34ZLars BärringCommand line argument to specify index_definition fileIn operational use one will want to have different index_definition files, for example to calculate the same index over monthly, seasonal and annual periods. Now climix searches the XDG catalogues and picks the "last definition". It is l...In operational use one will want to have different index_definition files, for example to calculate the same index over monthly, seasonal and annual periods. Now climix searches the XDG catalogues and picks the "last definition". It is less convenient, and indeed error-prone, having to change names or location of the definition file just to switch between calculation period, or otherwise index definitions. Thus adding a command line argument specifying the index_definition file (including full path) would be useful.
E.g. something like
``` bash
climix -f ./path/to/my_project_index_definition.yaml
```
that overrides the search in the XDG directory hierarchy.0.16Klaus ZimmermannKlaus Zimmermannhttps://git.smhi.se/climix/climix/-/issues/367Investigate iterative storage bevahoiur when running jobscripts2024-03-13T10:36:03ZJoakim LöwInvestigate iterative storage bevahoiur when running jobscriptsWhen running either of the jobscripts on freja, enabling the iterative storage flag (`-i`) results in a file with considerably smaller file size, and the log suggests only first slice is saved. Investigate the reason for this.When running either of the jobscripts on freja, enabling the iterative storage flag (`-i`) results in a file with considerably smaller file size, and the log suggests only first slice is saved. Investigate the reason for this.https://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]https://git.smhi.se/climix/climix/-/issues/349Change behaviour of sentry2024-02-20T07:29:43ZJoakim LöwChange behaviour of sentry~~Make sentry opt-in instead of having to explicitly opt-out.~~
Remove the use of sentry.~~Make sentry opt-in instead of having to explicitly opt-out.~~
Remove the use of sentry.https://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/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/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öw