Skip to content

Change BARRA_DIR/ERA_DIR to source_dir and take it as a command-line argument #41

@atteggiani

Description

@atteggiani

Currently the BARRA_DIR or ERA_DIR paths are hardcoded (and set from the ROSE_DATA environment variable).

It would be better for this path to be declared as a command line argument to the hres_eccb.py/hres_ic.py scripts (for example using the --source or --source_dir option.

This would:

  • Make the scripts portable. If I have some valid data (same structure) locally, the scripts can still be used by setting the source path via the --source option. Currently the scripts can only be used on Gadi.
  • Give more freedom in case the paths to the source files want/need to be changed. We would only need to change the suite (change the --source path) and not the python scripts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions