From 98da03e8695b2d2a0cb0a7fa8f1f9904312382a5 Mon Sep 17 00:00:00 2001 From: dougiesquire Date: Mon, 29 Jul 2024 10:13:05 +1000 Subject: [PATCH] Use netcdf4 for MOM6 (https://github.com/COSIMA/access-om3/issues/188) Flag OCN_modelio::pio_* params as unused in nuopc.runconfig remove extra lines in nuopc.runconfig update comment for ocean nc type --- input.nml | 6 +++++ nuopc.runconfig | 64 +++++++++++-------------------------------------- 2 files changed, 20 insertions(+), 50 deletions(-) diff --git a/input.nml b/input.nml index a248e24..cd9f0dc 100644 --- a/input.nml +++ b/input.nml @@ -20,3 +20,9 @@ cf_compliance = .true. / +&fms2_io_nml + ncchksz = 4194304 + netcdf_default_format = "netcdf4" + deflate_level = 4 + shuffle = .true. +/ diff --git a/nuopc.runconfig b/nuopc.runconfig index 795f40f..5541f91 100644 --- a/nuopc.runconfig +++ b/nuopc.runconfig @@ -362,18 +362,6 @@ ATM_modelio:: pio_typename = netcdf :: -LND_modelio:: - diro = ./log - logfile = lnd.log - pio_async_interface = .false. - pio_netcdf_format = 64bit_offset - pio_numiotasks = -99 - pio_rearranger = 2 - pio_root = 1 - pio_stride = 48 - pio_typename = netcdf -:: - ICE_modelio:: diro = ./log logfile = ice.log @@ -389,37 +377,25 @@ ICE_modelio:: OCN_modelio:: diro = ./log logfile = ocn.log - pio_async_interface = .false. - pio_netcdf_format = 64bit_offset - pio_numiotasks = -99 - pio_rearranger = 2 - pio_root = 1 - pio_stride = 48 - pio_typename = netcdf + pio_async_interface = .false. #not used + pio_netcdf_format = 64bit_offset #not used + pio_numiotasks = -99 #not used + pio_rearranger = 2 #not used + pio_root = 1 #not used + pio_stride = 48 #not used + pio_typename = netcdf #not used, set in input.nml :: ROF_modelio:: diro = ./log logfile = rof.log - pio_async_interface = .false. - pio_netcdf_format = 64bit_offset - pio_numiotasks = -99 - pio_rearranger = 2 - pio_root = 1 - pio_stride = 48 - pio_typename = netcdf -:: - -GLC_modelio:: - diro = ./log - logfile = glc.log - pio_async_interface = .false. - pio_netcdf_format = 64bit_offset - pio_numiotasks = -99 - pio_rearranger = 2 - pio_root = 1 - pio_stride = 48 - pio_typename = netcdf + pio_async_interface = .false. #not used + pio_netcdf_format = 64bit_offset #not used + pio_numiotasks = -99 #not used + pio_rearranger = 2 #not used + pio_root = 1 #not used + pio_stride = 48 #not used + pio_typename = netcdf #not used :: WAV_modelio:: @@ -436,18 +412,6 @@ WAV_modelio:: history_option = ndays :: -ESP_modelio:: - diro = ./log - logfile = esp.log - pio_async_interface = .false. - pio_netcdf_format = 64bit_offset - pio_numiotasks = -99 - pio_rearranger = -99 - pio_root = -99 - pio_stride = -99 - pio_typename = nothing -:: - DRV_modelio:: diro = ./log logfile = drv.log