理解 decode_cf xarray.open_dataset 的论点

understanding decode_cf argument to xarray.open_dataset

我开始学习 xarray 并正在阅读文档。 current documentationxarray.open_datasetdecode_cf 参数的描述是

decode_cf:bool, optional

Whether to decode these variables, assuming they were saved according to CF conventions.

这指的是什么变量?我无法从上下文中弄清楚。

是指文件中存储的变量是否有CF约定中存储的元数据。 CF 代表气候和预报。来自 NetCDF 约定的 Unidata 页面:

The conventions for CF (Climate and Forecast) metadata are designed to promote the processing and sharing of files created with the NetCDF API. The CF conventions are increasingly gaining acceptance and have been adopted by a number of projects and groups as a primary standard. The conventions define metadata that provide a definitive description of what the data in each variable represents, and the spatial and temporal properties of the data. This enables users of data from different sources to decide which quantities are comparable, and facilitates building applications with powerful extraction, regridding, and display capabilities.

更多info.