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
Refactor CMORiser input parameter and add utility function for ocean file retrieval
- Updated the parameter name from `input_paths` to `input_data` in multiple instances of the ACCESS_ESM_CMORiser initialization within the Tutorial1 notebook.
- Introduced a new utility function `get_monthly_ocean_files` in `utilities.py` to facilitate the retrieval of ocean model output files based on CMOR variable mappings, including error handling and warnings for missing files.
Copy file name to clipboardExpand all lines: docs/source/getting_started.rst
+73Lines changed: 73 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,79 @@ After writing the file, we recommend validating it using [PrePARE](https://githu
161
161
162
162
cmoriser.write()
163
163
164
+
CMIP7 Support with Full Branded Names
165
+
======================================
166
+
167
+
ACCESS-MOPPy also supports the new CMIP7 compound name format, which uses full branded names instead of the table.variable format used in CMIP6. CMIP7 introduces a more descriptive naming convention that includes detailed information about the data processing and grid specifications.
168
+
169
+
The CMIP7 format follows the pattern: ``realm.variable.operation.frequency.domain`` (e.g., ``atmos.tas.tavg-h2m-hxy-u.mon.glb``)
170
+
171
+
This provides more explicit information about:
172
+
173
+
- **Realm**: Model component (atmos, ocean, land, etc.)
174
+
- **Variable**: The physical quantity
175
+
- **Operation**: Temporal and spatial processing applied
176
+
- **Frequency**: Data output frequency
177
+
- **Domain**: Spatial domain specification
178
+
179
+
Using CMIP7 Compound Names
180
+
---------------------------
181
+
182
+
Here's how to use CMIP7 compound names with ACCESS-MOPPy:
183
+
184
+
.. code-block:: python
185
+
186
+
# Example: CMIP7 compound name for atmospheric temperature
187
+
cmip7_cmoriser = ACCESS_ESM_CMORiser(
188
+
input_data=files, # Can reuse the same atmospheric files
189
+
compound_name="atmos.tas.tavg-h2m-hxy-u.mon.glb", # CMIP7 full branded name
190
+
experiment_id="piControl-spinup",
191
+
source_id="pcmdi-test-1-0", # CMIP7 test source identifier
192
+
variant_label="r1i1p1f1",
193
+
grid_label="gn",
194
+
activity_id="CMIP",
195
+
parent_info=parent_experiment_config,
196
+
cmip_version="CMIP7"# Explicit CMIP7 support
197
+
)
198
+
199
+
# Display the CMIP7 variable mapping
200
+
cmip7_cmoriser.variable_mapping
201
+
202
+
CMIP6 vs CMIP7 Compound Name Comparison
203
+
----------------------------------------
204
+
205
+
The table below shows the key differences between CMIP6 and CMIP7 compound name formats:
0 commit comments