Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Support for downscaling #7

Open
brandomr opened this issue Feb 13, 2024 · 0 comments
Open

Support for downscaling #7

brandomr opened this issue Feb 13, 2024 · 0 comments
Assignees

Comments

@brandomr
Copy link

brandomr commented Feb 13, 2024

This issue is to migrate this repo/context into darpa-askem/beaker-kernel as its own context. The Dockerfile might need to be slightly updated to support the relevant dependencies but otherwise it should basically be compatible in that environment.

Then--we need to update the regridding function to be more flexible based on this thread.

We also need to ensure that the regridding/downscaling tool can check for _bnds type variables and exclude them or drop them out of the process as they seem to cause problems.

Basic testing

  1. set up this repo based on the README
  2. navigate to localhost:8888
  3. select the climate data utility beaker context and load it
  4. send a custom message of type download_dataset_request with the payload {"uuid": "149efd94-dc91-4673-9245-443ad61276ea", "filename": "cmip6-6e565455-9589-4d7c-8960-18c47ed6b9b7.nc"}
  5. watch logs, check that dataset is an xarray variable in the notebook

Now, after migrating this context to the DARPA-ASKEM/beaker-kernel you should be able to follow the same steps if the migration of the context worked as expected.

Next steps

  1. try regridding the dataset to 2 degree resolution with a mean aggregation and plot the before/after results. The resulting plot should be more coarse grained than the "before"
  2. try downscaling going to 0.1 degree resolution via interpolation. check the before/after as well by plotting.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants