cosima-cookbook icon indicating copy to clipboard operation
cosima-cookbook copied to clipboard

Framework for indexing and querying ocean-sea ice model output.

Results 57 cosima-cookbook issues
Sort by recently updated
recently updated
newest added

Motivating example here: https://github.com/COSIMA/cosima-recipes/issues/229. Files with the same naming in a single experiment are on different domains depending on the `output*` directory. Should the cookbook check whether indexes are the...

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง user experience

PR https://github.com/COSIMA/cosima-cookbook/pull/265 added an `ncfiles` attribute to the `DataArray` returned by `getvar`. This attribtue is a list of all the netcdf files that are queried to create the `DataArray`, and...

At the moment to use the unmasked grids we need to know where they are saved and then do something like ```python geolon_t = xr.open_dataset('/g/data/ik11/grids/ocean_grid_025.nc').geolon_t ``` (see, e.g., https://cosima-recipes.readthedocs.io/en/latest/tutorials/Making_Maps_with_Cartopy.html#fixing-the-tripole) I...

๐Ÿ›ธ feature
๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง user experience

Could we add a deprecation warning that will appear once users call `import cosima_cookbook` that would inform them that ACCESS-NRI Intake catalog is preferred? Is this a good idea? cc...

๐Ÿ™‹๐Ÿฝโ€โ™€๏ธ question
๐Ÿ’” schema breaking
๐Ÿ›ธ feature

I expect this might make the indexing output more verbose, since permission errors won't go through the logging mechanism. There's an additional update to the version mechanism to make it...

This function returns a DataFrame containing the distinct ranges of contiguous data. For example, ``` >>> cc.querying.get_ranges(session, "01deg_jra55v13_ryf9091", "u", "1 daily") start end 0 1950-01-01 00:00:00 1950-02-01 00:00:00 1 1950-02-01...

I'm thinking of this line https://github.com/COSIMA/cosima-cookbook/blob/a9f5fc9b2ff3daf1cca0b9dcd7173636c2e274e4/cosima_cookbook/database.py#L45 and the discussion over at https://github.com/COSIMA/cosima-recipes/issues/327#issuecomment-2051129125 regarding how an example was **silently** giving different results and we were missing all the xarray's warnings. cc...

๐Ÿž bug
๐Ÿ™‹๐Ÿฝโ€โ™€๏ธ question