CMOR Table input ================ Before running the publisher for CMIP6, you will need to obtain a directory of CMOR Tables, used by ``esgpublish`` to check the metadata of your files. You can get this directory either using ``esgprep`` or by cloning the git repository. NOTE: ``esgprep`` uses python 2.6 or greater, but less than python 3.0. Configure your virtual environment as needed. Clone Git Repository -------------------- Clone the repository:: git clone https://github.com/PCMDI/cmip6-cmor-tables.git Your tables will be in the folder ``cmip6-cmor-tables/Tables`` (unless you specify a different target directory name for the clone). You can now update the ``cmor_path`` variable in your config file, or specify it at run time in the command line. esgprep ------- You can install ``esgprep`` (esgf-prepare) using pip:: pip install esgprep You can also clone their git repository and run setup.py:: git clone git://github.com/ESGF/esgf-prepare.git cd esgf-prepare python setup.py install Following install, simply run:: esgfetchtables You can specify project using ``--project`` and the output directory using ``--table-dir`` like so:: esgfetchtables --project CMIP6 --table-dir Once you have fetched the tables, you can update the ``cmor_path`` variable in your config file, or specify it at run time in the command line. See https://esgf.github.io/esgf-prepare/ for more information.