Skip to content

Use of "where" in cell_methods #173

@taylor13

Description

@taylor13

What are the correct cell_methods specifications for the following four cases for characterizing the "age_of_sea_ice" [Let E represent age, A the grid cell area, and s the fraction of the area covered by sea ice. Let i be the grid-cell index and n be the time-sample index for N samples.]:

  1. We want to compute an area-mean (over several grid cells) of the sea ice age in a grid cell, weighted by area covered by sea ice:

sum(over cells) [ s_i * A_i * E_i ] / sum(over cells) [ s_i * A_i ]

Should cell_methods be "area: mean where sea ice"? Is the weighting by sea-ice area (s_i * A_i) assumed or does a comment need to be included?

  1. We want to compute a time-mean of the sea ice age in a single grid cell, weighted equally across all time-samples:

    sum(over time samples) [delta_n * E_n ] / sum(over time samples) [delta_n]
    where delta_n is a function set to 1 if s_n > 0 and set to 0 if s_n=0.

Should cell_methods be "time: mean where sea ice"? How should omission of the sea-ice free samples be indicated? Is the "where" directive reserved for use only for spatial dimensions?

  1. We want to compute a time-mean of the sea ice age in a single grid cell, weighted by the area of sea ice found in that grid cell at each time sampled:

sum(over time samples) [ s_n * E_n ] / sum(over time samples) [ s_n ]
Should cell_methods be "time: mean where sea ice"? Is the weighting by sea-ice area (s_n) assumed or does a comment need to be included? Is the "where" directive reserved for use only for spatial dimensions?

  1. We want to compute a time-mean of the area-means (computed in 1 above), weighting each area-mean by the area occupied by sea ice in that area.

sum (over i & n) [ s_i,n * A_i * E_i,n ] / sum (over i & n) [ s_i,n * A_i ]

Should cell_methods be "area: time: mean where sea ice" or "area: mean where sea ice time: mean" or "area: mean where sea ice time: mean where sea ice" or "area: mean time: mean where sea ice" or what? Is the weighting by sea-ice area (s_i,n * A_i) assumed or does a comment need to be included?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions