aosprey / mckpp-f90

Multi-Column configuration of the K Profile Parameterisation mixed-layer ocean model (F90 version)
GNU General Public License v3.0
2 stars 0 forks source link

Netcdf #12

Closed aosprey closed 3 years ago

aosprey commented 3 years ago

Replace all netcdf code, in preparation for parallelisation.

Note that not all of these ancillary reads have been tested. Untested:

aosprey commented 3 years ago

Also, this changes results from main. I think this occurs because we read data into 8 byte variables, whereas previously we read to 4-byte temporary variables and then copied into 8-byte arrays. In particular the vertical interpolation was done with the 4-byte arrays previously, which does change the results.