Skip to content

Commit

Permalink
Merge pull request #155 from joshua-hampton/format-instrument-dicts
Browse files Browse the repository at this point in the history
Replace very nested instrument dictionary with FileInfo class
  • Loading branch information
joshua-hampton authored Nov 19, 2024
2 parents 3808e28 + f4cdd64 commit 20e623c
Show file tree
Hide file tree
Showing 11 changed files with 965 additions and 315 deletions.
1 change: 1 addition & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ API
:recursive:

ncas_amof_netcdf_template.create_netcdf
ncas_amof_netcdf_template.file_info
ncas_amof_netcdf_template.remove_empty_variables
ncas_amof_netcdf_template.tsv2dict
ncas_amof_netcdf_template.util
Expand Down
5 changes: 5 additions & 0 deletions docs/source/file_info.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
file_info
---------

.. automodule:: ncas_amof_netcdf_template.file_info
:members:
26 changes: 26 additions & 0 deletions docs/source/~generated/ncas_amof_netcdf_template.file_info.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ncas\_amof\_netcdf\_template.file\_info
=======================================

.. automodule:: ncas_amof_netcdf_template.file_info







.. rubric:: Functions

.. autosummary::

convert_instrument_dict_to_file_info





.. rubric:: Classes

.. autosummary::

FileInfo
1 change: 1 addition & 0 deletions docs/source/~generated/ncas_amof_netcdf_template.util.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.. autosummary::

add_metadata_to_netcdf
change_qc_flags
check_float
check_int
check_type_convert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
get_community_instruments_url
get_instruments_url
get_latest_CVs_version
get_latest_instrument_CVs_version
1 change: 1 addition & 0 deletions src/ncas_amof_netcdf_template/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
from . import tsv2dict
from . import util
from . import values
from . import file_info

__version__="2.5.0-alpha"
Loading

0 comments on commit 20e623c

Please sign in to comment.