diff --git a/latest/_modules/compass/ocean/tests/global_ocean/init/initial_state.html b/latest/_modules/compass/ocean/tests/global_ocean/init/initial_state.html index 13b1a5703..cede343cd 100644 --- a/latest/_modules/compass/ocean/tests/global_ocean/init/initial_state.html +++ b/latest/_modules/compass/ocean/tests/global_ocean/init/initial_state.html @@ -236,7 +236,7 @@

Source code for compass.ocean.tests.global_ocean.init.initial_state

if initial_condition == 'WOA23': self.add_input_file( filename='woa23.nc', - target='woa23_decav_0.25_extrap.20230416.nc', + target='woa23_decav_0.25_jan_extrap.20230416.nc', database='initial_condition_database') elif initial_condition == 'PHC': self.add_input_file( diff --git a/latest/_modules/compass/ocean/tests/utility/extrap_woa/extrap_step.html b/latest/_modules/compass/ocean/tests/utility/extrap_woa/extrap_step.html index b7892df3d..a5a540777 100644 --- a/latest/_modules/compass/ocean/tests/utility/extrap_woa/extrap_step.html +++ b/latest/_modules/compass/ocean/tests/utility/extrap_woa/extrap_step.html @@ -109,6 +109,7 @@

Source code for compass.ocean.tests.utility.extrap_woa.extrap_step

 import os
+from datetime import datetime
 from functools import partial
 from multiprocessing import Pool
 
@@ -165,7 +166,9 @@ 

Source code for compass.ocean.tests.utility.extrap_woa.extrap_step

""" Determine the output filename """ - self.woa_filename = 'woa23_decav_0.25_extrap.nc' + now = datetime.now() + datestring = now.strftime("%Y%m%d") + self.woa_filename = f'woa23_decav_0.25_jan_extrap.{datestring}.nc' self.add_output_file(self.woa_filename)
@@ -283,7 +286,7 @@

Source code for compass.ocean.tests.utility.extrap_woa.extrap_step

out_filename = 'extrap_ocean/woa_extrap.nc' else: in_filename = 'extrap_land/woa_extrap_horiz.nc' - out_filename = 'woa23_decav_0.25_extrap.nc' + out_filename = self.woa_filename ds = xr.open_dataset(in_filename)