nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Coordinates for the 'simple rectangular' test #486

Closed timspainNERSC closed 5 months ago

timspainNERSC commented 5 months ago

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 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.