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 11 forks source link

Refactoring Vision #45

Closed bcc2761 closed 4 months ago

bcc2761 commented 8 months ago

Want to incorporate use of classes and better importing habits.

https://click.palletsprojects.com/en/8.1.x/complex/

cwhitlock-NOAA commented 6 months ago

I would also like to add wrappers that strip decorators from some functions with the intent of making them easier to call from other python scripts, re: https://stackoverflow.com/questions/40091347/call-another-click-command-from-a-click-command

This is mostly relevant to a wrapper script for the fre-cli workflow as a whole, but might get used elsewhere

cwhitlock-NOAA commented 6 months ago

One new branch: 45.call.wo.decorators; also includes first stab at a wrapper script for the pp workflow which needs some work

ilaflott commented 4 months ago

OH the PR was abandoned, NOT the 45.call.wo.decorators branch. re-linking. apologies for noise.