Skip to content

Commit

Permalink
Adding catalog documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciheim Brown authored and Ciheim Brown committed Oct 1, 2024
1 parent 20683a9 commit 475e328
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/subtools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ fre app
fre catalog
--------

The fre catalog tool brings the functionality of the `GFDL catalog builder <https://github.com/NOAA-GFDL/CatalogBuilder/tree/main>`_ to fre users. The catalog builder is a python community package ecosystem that allows you to generate data catalogs compatible with intake-esm.

**Subtools**

Buildcatalog - Generate a data catalog

Validate - Validate the catalog

**Flags**

Overwrite - Overwrite an existing catalog at the given output path

Apend - Append (without headerlist) to an existing catalog at the given output path

**Quickstart**

Catalogs are generated by the following command: fre catalog buildcatalog <INPUT_PATH> <OUTPUT_PATH>

(OUTPUT_PATH should end with the desired output filename WITHOUT a file ending) See example below.

.. code-block:: terminal
fre catalog buildcatalog --overwrite /archive/path_to_data_dir ~/output

fre check (not yet implemented)
--------

Expand Down

0 comments on commit 475e328

Please sign in to comment.