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

New ``model.missing_value`` #615

Closed einola closed 4 months ago

einola commented 4 months ago

New model.missing_value

Fixes #612

Task List


Change Description

This PR changes the value of model.missing_value to be less than the largest permitted float on most systems. This is so that we can easily view the netCDF files output by the model using ncview.


Test Description

Run the dynamics benchmark (./nextsim --config-files config_benchmark.cfg) and view the output using ncview. An ncdump -h benchmark_32x32.diagnostic.nc| grep 'missing_value' should look like this:

                cice:missing_value = 1.7e+38 ;
                hice:missing_value = 1.7e+38 ;
                hsnow:missing_value = 1.7e+38 ;
                u:missing_value = 1.7e+38 ;
                v:missing_value = 1.7e+38 ;

Documentation Impact

N/A


Other Details

None


Pre-Request Checklist