xarray.Dataset.traj.assign_cf_attrs#

Dataset.traj.assign_cf_attrs(creator_name=None, creator_email=None, title=None, summary=None, **kwargs)#

Return a new dataset with CF-standard and common attributes set.

Parameters:
  • creator_name (string) – Creator of dataset (optional).

  • creator_email (string) – Creator email (optional).

  • title (string) – Title of dataset (optional).

  • summary (string) – Description of dataset (optional).

  • *kwargs (dict) – Additional attribute key and values (optional).

Returns:

Dataset – Updated dataset with provided attributes, in addition to several CF standard attributes, including Conventions, featureType, geospatial_lat_min etc.