andes.variables.fileman.FileMan#

class andes.variables.fileman.FileMan(case=None, **kwargs)[source]#

Define a File Manager class for System

__init__(case=None, **kwargs)[source]#

Initialize the output file names. For inputs, all absolute paths will be respected. All relative paths are relative to input_path.

case: must be full path to case

output: desired name for format conversion output

input_path: default path for input files that only contains file name. If input_path is not provided,

it will be derived from the path of case.

output_path: path for output files. Default to current working directory where andes is invoked.

Methods

get_fullpath([fullname])

Return the original full path if full path is specified, otherwise search in the case file path.

set([case])

Perform the input and output set up.