Open rabernat opened 2 years ago
Let's brainstorm the possible syntax we might want to have in a command line script
Export a single snapshot
$ python -m export_llc --model "llc4320" --variable "THETA" --klevel 0 --timestep 90293 --output-dir /nobackup/dbalwada/llc_export # > /nobackup/dbalwada/llc_export/llc4320_THETA_k0_t90292.nc
Export a 3D chunk
$ python -m export_llc --model "dyamond" --variable "SALT" --klevel 0-20 --face 4 -i 200-300 -j 400-500 --timestep 90293 --output-dir /nobackup/dbalwada/llc_export # > /nobackup/dbalwada/llc_export/dyamond_THETA_k0-20_face4_i200-300_j400-500_t90292.nc
Run from singularity.
$ singularity exec python -m export_llc ...
I suggest to use click.
Let's brainstorm the possible syntax we might want to have in a command line script
Export a single snapshot
Export a 3D chunk
Run from singularity.
I suggest to use click.