Add coordinates to the init_rect30x30.nc restart file so that it is a valid restart file once again. The coordinates are generated in the make_init.py Python script along with the rest of the file. They consist of an x and a y array for element centres and a coords array containing the x and y coordinates of the vertices. The origin is the bottom left vertex of element (0, 0) so all coordinates are non-negative. The grid spacing is 150 km.
Also remove an errant debug print statement from the command line parser.
Test Description
Running the run_simple_example.sh script works once again.
Coordinates for the 'simple rectangular' test
Fixes #485
Change Description
Add coordinates to the
init_rect30x30.nc
restart file so that it is a valid restart file once again. The coordinates are generated in themake_init.py
Python script along with the rest of the file. They consist of anx
and ay
array for element centres and acoords
array containing the x and y coordinates of the vertices. The origin is the bottom left vertex of element (0, 0) so all coordinates are non-negative. The grid spacing is 150 km.Also remove an errant debug print statement from the command line parser.
Test Description
Running the
run_simple_example.sh
script works once again.