COSIMA / access-om2

Deprecated ACCESS-OM2 global ocean - sea ice coupled model code and configurations.
21 stars 23 forks source link

Upload fixed salt_sfc_restore.nc file and develop input file sanity checks #62

Open aekiss opened 6 years ago

aekiss commented 6 years ago

@russfiedler spotted a serious interpolation problem in the 0.1deg salt_sfc_restore.nc file: https://arccss.slack.com/archives/C6PP0GU9Y/p1511838112000214 (the offending file can be found here: /short/v45/aek156/access-om2/input/mom_01deg/salt_sfc_restore-BAD-DO-NOT-USE.nc)

This bad input/mom_01deg/salt_sfc_restore.nc file is present in at least the two latest input tarfiles /short/public/access-om2/input_c22b3335.tar.gz and /short/public/access-om2/input_154112e8.tar.gz so a user will get these faulty files when cloning https://github.com/OceansAus/access-om2.git followed by get_input_data.py.

There is a correct 0.1deg version (used by Fanghua) here: /short/x77/fw4078/mom/input/mom01/climatology/mean_salinity_of_0_and_10m.nc.

I've also checked other resolutions in the latest /short/public/access-om2/input_154112e8.tar.gz

We need to

More generally, this points to a need for a more systematic, automated method to verify and maintain the integrity of our input files. Can something like that be done with the Jenkins test suite? I'm thinking a simple bounds check for all variables to confirm they don't have absurd values.

ofa001 commented 6 years ago

@aekiss and @russfiedler I have a question and it may relate to these fields for 0.1 and 0.25 models and the negative/ low salinities and the new grids Russ built are the values right at the end of channels, or places like Baltic Hudson Bay. I was just remembering some Mk2/3 history (with Barrie's passing) and we had to increase our exchange coefficients across narrow straits to prevent negative salinities there (I think it was the first attempt at Mk3.0 as flux correction would have kept us on track in Mk2) I noticed you were increasing the size of your salinity restoring terms so may achieve the same result. But I do think you should look into the stability issues that the Met office found in the lower levels of CICE thermodynamics when the added an extra convergence criterion I mentioned earlier in the week it was again tripped in a low salinity region.

aidanheerdegen commented 6 years ago

I should have said, I have fixed the variable names for the smooth WOA sss restoring files in /g/data/ua8/MOM/salinity_restoring. Is there anything else that needs fixing in the metadata for those files?

md5sum /g/data1/ua8/MOM/salinity_restoring/*/salt_sfc_restore.nc
441cd4ed3336f5d8567dedf55b993160  /g/data1/ua8/MOM/salinity_restoring/01/salt_sfc_restore.nc
f6e39a106494e7a2f0232963cfb84220  /g/data1/ua8/MOM/salinity_restoring/025/salt_sfc_restore.nc
1737e61aafe7b2a09f25350d256106d0  /g/data1/ua8/MOM/salinity_restoring/10/salt_sfc_restore.nc
aekiss commented 6 years ago

thanks @aidanheerdegen /g/data1/ua8/MOM/salinity_restoring/10/salt_sfc_restore.nc has the wrong variable name for salinity and the path is confusing (should 10 be 1?) Others look OK.

aekiss commented 6 years ago

thanks @ofa001 it's been a busy week but I'll hopefully get a chance to look at that properly next week

aidanheerdegen commented 6 years ago

Grrrr. I was sure I had double-checked that. Thanks for picking it up

Shall we try that again then

md5sum /g/data1/ua8/MOM/salinity_restoring/*/salt_sfc_restore.nc
441cd4ed3336f5d8567dedf55b993160  /g/data1/ua8/MOM/salinity_restoring/01/salt_sfc_restore.nc
f6e39a106494e7a2f0232963cfb84220  /g/data1/ua8/MOM/salinity_restoring/025/salt_sfc_restore.nc
d95d45424492bad16d647c104e78b442  /g/data1/ua8/MOM/salinity_restoring/10/salt_sfc_restore.nc

I have used 10 = 1.0 to be consistent with 01 = 0.1. Makes sense in my brain.

aekiss commented 6 years ago

Yep, looks good, thanks @aidanheerdegen .

@nicjhan , @AndyHoggANU - should we replace the existing salt restoring files with these? I don't know to what extent they differ from the ones we've used for the 1deg and 025deg runs so far.

@aidanheerdegen - the salt field in /g/data1/ua8/MOM/salinity_restoring/01/salt_sfc_restore.nc is identical to @FanghuaWu's /short/x77/fw4078/mom/input/mom01/climatology/mean_salinity_of_0_and_10m.nc, right?

aidanheerdegen commented 6 years ago

@aekiss ncdiff shows no difference

nichannah commented 6 years ago

@aekiss, @aidanheerdegen do we have a conclusion? I've replaced the 0.1 deg but should we do the same for 0.25 and 1 deg?

aidanheerdegen commented 6 years ago

We should look at a masked version of the restoring files to see if there are any problematic values over ocean cells. If not then they shouldn't be replaced as there are long spin up runs of the 1 deg and 0.25 deg with the existing files.

We'll need @AndyHoggANU's opinion.

AndyHoggANU commented 6 years ago

Hi @nicjhan @aidanheerdegen @aekiss, I think we should replace these files. Yes, I know they will differ slightly from our current spinup, but there is no guarantee that we will ever find the perfect time to update these files. So, let's update the repository - if people want to run consistent runs, then the old input directory is still there for them. Sound reasonable?