TEOS-10 / python-gsw

Python implementation of the Thermodynamic Equation Of Seawater - 2010 (TEOS-10)
MIT License
45 stars 22 forks source link

check_functions: add options, refactor #9

Closed efiring closed 9 years ago

efiring commented 9 years ago

The parsing of gsw_check_functions.m has been broken out into a function. The script now takes options:

usage: check_functions.py [-h] [--path MFILEDIR] [-v] [--find FIND]

Run checks from gsw_check_functions.m

optional arguments:
  -h, --help       show this help message and exit
  --path MFILEDIR  location of gsw_check_functions.m
  -v, --verbose    print output mismatch arrays
  --find FIND      run functions with this substring