Skip to content

Conversation

mats-knmi
Copy link
Contributor

@mats-knmi mats-knmi commented Jul 30, 2024

This is the draft pull request that will collect all the changes that need to be made to fully integrate xarray into pysteps.

Progress of this project is tracked here.

THIS PULL REQUEST CAN ONLY BE MERGED AS PART OF THE VERSION 2.0 PYSTEPS RELEASE.

mats-knmi and others added 8 commits September 23, 2024 15:38
* make dimension.py xarray compatible

* convert final method in the dimension module

* nanmin in stead of zerovalue in square domain method

* make test steps skill run

* undo accidental change

* remove commented out code

* The dataset can contain more than one dataarray

* Address pull request comments

* Add links to dataset documentation everywhere
* make test steps skill run

* undo accidental change

* make steps nowcast xarray compatible

* wrap all nowcasts in xarray

* fix dimension.py tests

* update dimension.py to work with new dataarrays

* fix test_nowcast_utils tests

* update docs and make xarray usage more explicit in nowcasts

* update docs and make xarray usage in motion methods more explicit
sidekock and others added 30 commits December 6, 2024 16:09
Co-authored-by: mats-knmi <145579783+mats-knmi@users.noreply.github.com>
….velocity_perturbations = [] in __initialize_random_generators
* Use seed for all rng to make a test run completely deterministic

* fix probmatching test and some copy paste oversights

* Add test for vel_pert_method

* Change the test so that it actually runs the lines that need to be covered
* Fix more tests and make steps nowcast work again

* fix test_motion.py
* Add comments about pixelsize

* Move  comment up slightly

* Add clarification

* Update test_io_mch_gif.py

* Update test_io_mch_gif.py
* converted minutes to seconds for timestep for call to  io.read_timeseries in get_precipitation_fields

* linted

* fixed test_datasets by adding timestep in helper function load_dataset in datasets.py
* On the way to all tests passing in the pysteps 2.0 project. Now working on FMI io tests

* Nearly all IO tests pass now, only FMI_geotiff is acting strangly
* fix test_importer_decorator

* fixed some more tests

* remove test.nc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants