Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow // write ACCESS-ESM1.5 variable as zarr collection #3

Open
1 of 2 tasks
Thomas-Moore-Creative opened this issue Dec 2, 2024 · 4 comments
Open
1 of 2 tasks
Assignees

Comments

@Thomas-Moore-Creative
Copy link
Owner

Thomas-Moore-Creative commented Dec 2, 2024

ACDtools workflow

  • write ACCESS-ESM1.5 variable as zarr collection to /scratch/es60/ard/models/ACCESS-ESM15/ARD
  • from NetCDF path lists found with intake catalogs
  • including chunking xarray_kwargs on load
  • prototype in notebook
  • write as batch script
@Thomas-Moore-Creative Thomas-Moore-Creative self-assigned this Dec 2, 2024
@Thomas-Moore-Creative
Copy link
Owner Author

Thomas-Moore-Creative commented Dec 2, 2024

  • setup config for this task
  • remove and save the multidimensional lat and lon coordinates

Thomas-Moore-Creative added a commit that referenced this issue Dec 2, 2024
@Thomas-Moore-Creative
Copy link
Owner Author

Have prototype, config-driven workflow for piControl working and have generated primary ( T, O2, U, V, chl ) zarr collections.

@Thomas-Moore-Creative
Copy link
Owner Author

KeyError: 'vertices_latitude'

KeyError                                  Traceback (most recent call last)
[/g/data/hh5/public/apps/miniconda3/envs/analysis3-24.04/lib/python3.10/site-packages/xarray/core/dataset.py](https://are.nci.org.au/g/data/hh5/public/apps/miniconda3/envs/analysis3-24.04/lib/python3.10/site-packages/xarray/core/dataset.py) in ?(self, names)
   1437                 variables[name] = self._variables[name]
   1438             except KeyError:
-> 1439                 ref_name, var_name, var = _get_virtual_variable(
   1440                     self._variables, name, self.sizes

KeyError: 'vertices_latitude'

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
<timed exec> in ?()

[/g/data/es60/users/thomas_moore/code/ACDtools/ACDtools/ard.py](https://are.nci.org.au/g/data/es60/users/thomas_moore/code/ACDtools/ACDtools/ard.py) in ?(ds, save_coords_dir, coords_name, variable_name)
    264 def save_n_drop_multidim_lat_lon(ds, save_coords_dir, coords_name='ACCESS-ESM1.5', variable_name='var_name_unknown'):
--> 265     coords = ds[['latitude', 'longitude','vertices_latitude','vertices_longitude']]

@Thomas-Moore-Creative
Copy link
Owner Author

Have prototype working for SSP experiments that require the megamem node. Not batched yet. Have run ssp126 and now running ssp370 in notebook mode.

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

No branches or pull requests

1 participant