roocs / rook

A Web Processing Service for roocs: remote operations on climate simulations.
https://rook-wps.readthedocs.io/en/latest/
Apache License 2.0
5 stars 6 forks source link

Use `pooch` for testdata management, modernize #261

Open Zeitsperre opened 1 week ago

Zeitsperre commented 1 week ago

Overview

Changes:

Related Issue / Discussion

Some of these changes are being made to ensure that projects using the mini-esgf-data repository can make use of the new layout using pooch (see the restructuring/v1 branches). Once this has been done, we can start using a versioned approach to test data collection and management (with pooch and the stratus class from clisops).

I've also renamed the library to birdhouse-rook (rook was taken on PyPI). This is no different from a few other birdhouse projects that have been added to PyPI (birdhouse-raven, birdhouse-finch). This name does not impact the existing module name (still rook), so no changes will be needed when using it as a library.

Additional Information

@cehbrecht

My changes seem to have affected some of the configuration defaults. My theory is that there are some hard-coded filepaths that are causing the FileNotFound errors. If you could point me in the right direction, I would be willing to make the final adjustments here.

It also appears that the db code is fully deprecated. We will need to update the SQL handling here to be able to support modern daops and pandas.