Skip to content

Instantly share code, notes, and snippets.

@jbusecke
Created October 29, 2020 15:35
Show Gist options
  • Save jbusecke/86ff14477e74e7165381c294fc06f535 to your computer and use it in GitHub Desktop.
Save jbusecke/86ff14477e74e7165381c294fc06f535 to your computer and use it in GitHub Desktop.
# Lets do the same thing with cfcs and package them into a dataset
cfc_sigma = grid.transform(
ds.cfc11,
'Z',
target_values,
target_data=ds.sigma_0)
ds_sigma = xr.Dataset({'cfc11':cfc_sigma, 'so':so_sigma})
ds_sigma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment