When running ocean_grid_generator.py from a pip installed location, the script is unable to get the git information from the subprocess commands. When run, the netCDF file will contain the following:
:source = "/Users/Seth.Underwood/tmp/testenv/bin/ocean_grid_generator.py had git hash fatal: not a git repository (or any of the parent directories): .gitfatal: not a git repository (or any of the parent directories): .git. To obtain the grid generating code do: git clone https://github.com/nikizadehgfdl/grid_generation.git ; cd grid_generation; git checkout fatal: not a git repository (or any of the parent directories): .git" ;
When running
ocean_grid_generator.pyfrom a pip installed location, the script is unable to get the git information from thesubprocesscommands. When run, the netCDF file will contain the following: