We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getvar
The variables don't have the unmasked 2D lat-lon coordinates so after we load a variable
var = cosima_cookbook.querying.getvar(experiment, variable, session, frequency='1 monthly', n=-1)
we need to do something like
geolon_t = cosima_cookbook.querying.getvar(experiment, 'geolon_t', session, n=-1) geolat_t = cosima_cookbook.querying.getvar(experiment, 'geolat_t', session, n=-1) var = var.assign_coords({'geolon_t': geolon_t, 'geolat_t': geolat_t})
to be able to plot properly; see https://cosima-recipes.readthedocs.io/en/latest/Tutorials/Making_Maps_with_Cartopy.html#Fixing-the-tripole
Why don't we modify the cosima_cookbook.querying.getvar method to load and assign the coords before returning back the dataarray/dataset?
cosima_cookbook.querying.getvar
The text was updated successfully, but these errors were encountered:
This is similar to ACCESS-NRI/access-nri-intake-catalog#112 for the intake catalog.
Sorry, something went wrong.
No branches or pull requests
The variables don't have the unmasked 2D lat-lon coordinates so after we load a variable
we need to do something like
to be able to plot properly; see https://cosima-recipes.readthedocs.io/en/latest/Tutorials/Making_Maps_with_Cartopy.html#Fixing-the-tripole
Why don't we modify the
cosima_cookbook.querying.getvar
method to load and assign the coords before returning back the dataarray/dataset?The text was updated successfully, but these errors were encountered: