Skip to content

Commit

Permalink
basic CFA references
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhassell committed Apr 24, 2023
1 parent c6d7fec commit 31a53c4
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ elements.

The following file types can be read:

* All formats of netCDF3 and netCDF4 files (including `CFA-netCDF
<http://www.met.reading.ac.uk/~david/cfa/0.4/index.html>`_ files)
can be read, containing datasets for any version of CF up to and
including CF-|version|.
* All formats of netCDF3 and netCDF4 files can be read, containing
datasets for any version of CF up to and including CF-|version|.

..
Expand All @@ -132,6 +130,12 @@ The following file types can be read:

..
* `CFA-netCDF
<https://github.com/NCAS-CMS/cfa-conventions/blob/master/source/cfa.md>`_
files at version 0.6 or later.

..
* :ref:`PP and UM fields files <PP-and-UM-fields-files>`, whose
contents are mapped into field constructs.

Expand Down Expand Up @@ -5256,6 +5260,10 @@ The `cf.write` function has optional parameters to

* append to the netCDF file rather than over-writing it by default;

* write as a `CFA-netCDF
<https://github.com/NCAS-CMS/cfa-conventions/blob/master/source/cfa.md>`_
file.

* specify which field construct properties should become netCDF data
variable attributes and which should become netCDF global
attributes;
Expand All @@ -5275,6 +5283,8 @@ The `cf.write` function has optional parameters to

* set the endian-ness of the output data.

* omit the data arrays of selected constructs.

For example, to use the `mode` parameter to append a new field, or fields,
to a netCDF file whilst preserving the field or fields already contained
in that file:
Expand Down

0 comments on commit 31a53c4

Please sign in to comment.