NOAA-GFDL / fre-cli

Python-based command line interface for FRE (FMS Runtime Environment) to compile and run FMS-based models and post-process their output.
GNU Lesser General Public License v3.0
3 stars 7 forks source link

Yaml parsing errors with esm4.yaml #173

Open GFDL-Eric opened 2 weeks ago

GFDL-Eric commented 2 weeks ago

Describe the bug

I'm using the fre/canopy module on Gaea.

I'm attempting to create a checkout script with the following code:

fre make create-checkout -npc -y esm4.yaml -t "prod openmp" -p ncrc5.intel23

I get the following error:

yaml.composer.ComposerError: found undefined alias 'name'
  in "esm4.yaml", line 58, column 57

if I comment out that directories section to eliminate the name issue, I get this error:

yaml.constructor.ConstructorError: could not determine a constructor for the tag '!join'
  in "esm4.yaml", line 18, column 5

The files are from this directory: https://github.com/NOAA-GFDL/fre-cli/blob/main/fre/make/tests/ESM4_example/

To Reproduce

Load the fre/canopy module on Gaea, navigate to that directory after git cloning, and run the aforementioned command.

Expected behavior

A checkout script is generated.

Additional context Add any other context about the problem here.