You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ providing necessary functionality for searching, discovering, data access/loadin
43
43
44
44
In [1]: import intake
45
45
46
-
In [2]: col_url ="https://storage.googleapis.com/cmip6/pangeo-cmip6.json"
46
+
In [2]: col_url ="https://gist.githubusercontent.com/andersy005/7f416e57acd8319b20fc2b88d129d2b8/raw/987b4b336d1a8a4f9abec95c23eed3bd7c63c80e/pangeo-gcp-subset.json"
This documents mirrors the [ESM Collection Specification](https://github.com/NCAR/esm-collection-spec/blob/master/collection-spec/collection-spec.md) and is updated as the specification evolves.
| esmcat_version | string |**REQUIRED.** The ESM Catalog version the collection implements. |
76
+
| id | string |**REQUIRED.** Identifier for the collection. |
77
+
| title | string | A short descriptive one-line title for the collection. |
78
+
| description | string |**REQUIRED.** Detailed multi-line description to fully explain the collection. [CommonMark 0.28](http://commonmark.org/) syntax MAY be used for rich text representation. |
79
+
| catalog_file | string |**REQUIRED.** Path to a the CSV file with the catalog contents. |
80
+
| catalog_dict | array | If specified, it is mutually exclusive with `catalog_file`. An array of dictionaries that represents the data that would otherwise be in the csv. |
81
+
| attributes |[[Attribute Object](#attribute-object)]|**REQUIRED.** A list of attribute columns in the data set. |
82
+
| assets |[Assets Object](#assets-object)|**REQUIRED.** Description of how the assets (data files) are referenced in the CSV catalog file. |
83
+
| aggregation_control |[Aggregation Control Object](#aggregation-control-object)|**OPTIONAL.** Description of how to support aggregation of multiple assets into a single xarray data set. |
84
+
85
+
### Attribute Object
86
+
87
+
An attribute object describes a column in the catalog CSV file.
88
+
The column names can optionally be associated with a controlled vocabulary, such as the [CMIP6 CVs](https://github.com/WCRP-CMIP/CMIP6_CVs), which explain how to interpret the attribute values.
| column_name | string |**REQUIRED.** The name of the column containing the path to the asset. Must be in the header of the CSV file. |
102
+
| format | string | The data format. Valid values are `netcdf` and `zarr`. If specified, it means that all data in the catalog is the same type. |
103
+
| format_column_name | string | The column name which contains the data format, allowing for variable data types in one catalog. Mutually exclusive with `format`. |
104
+
105
+
### Aggregation Control Object
106
+
107
+
An aggregation control object defines neccessary information to use when aggregating multiple assets into a single xarray data set.
| type | string |**REQUIRED.** Type of aggregation operation to apply. Valid values include: `join_new`, `join_existing`, `union`|
122
+
| attribute_name | string | Name of attribute (column) across which to aggregate. |
123
+
| options | object |**OPTIONAL.** Aggregration settings that are passed as keywords arguments to [`xarray.concat()`](https://xarray.pydata.org/en/stable/generated/xarray.concat.html) or [`xarray.merge()`](https://xarray.pydata.org/en/stable/generated/xarray.merge.html#xarray.merge). For `join_existing`, it must contain the name of the existing dimension to use (for e.g.: something like `{'dim': 'time'}`). |
0 commit comments