Open fodo9 opened 1 week ago
The restart file has the "rho1" and "rmean1" variables. You can check "mod_ncdio.F" to see how they are included in the restart file, and add similar calls for the global file. No need to specify a namelist variable for density output (although it would be ideal). You can use the NC_SALT_TEMP = T, and output density (rho1 and rmean1) when you output Temperature and Salinity.
Thanks for your answer, that's very useful!
I would like to output the density field data, but I can't find it in NML_NETCDF. I have checked source codes but couldn't find any clues. Is there any good way to solve this problem?