act.io.Icartt#
- class act.io.Icartt[source]#
Container for an ICARTT FFI 1001 file: the full header model plus the data records. Reads and writes the format described by ESDS-RFC-029v2.
Attributes are named after the fields in the standard, so the header can be inspected and edited directly before writing.
Examples
from act.io.icartt import Icartt ict = Icartt.from_file('AAFNAV_COR_20181104_R0.ict') print(ict.NV, ict.keywords['PLATFORM']) ds = ict.to_xarray()
|
Read an ICARTT FFI 1001 file. |
|
Build an Icartt from an xarray.Dataset produced by |
Convert to an xarray.Dataset with a |
|
|
Write the object to an ICARTT FFI 1001 file. |
Normal comment lines, rebuilt from the parsed parts. |
|
Number of header lines. |
|
Number of normal comment lines. |
|
Number of special comment lines. |
|
Number of dependent variables (header line 10). |
|
Missing data flags, one per dependent variable (header line 12). |
|
Scale factors, one per dependent variable (header line 11). |
|
Time steps of the data as a |
|
All variables, independent first, keyed by short name. |