diff --git a/.github/workflows/run_algoa-bay-forecast.yml b/.github/workflows/run_algoa-bay-forecast.yml index 3df30bd7..2ef56aec 100644 --- a/.github/workflows/run_algoa-bay-forecast.yml +++ b/.github/workflows/run_algoa-bay-forecast.yml @@ -8,7 +8,7 @@ on: required: false default: schedule: - - cron: '0 0 * * *' # 0200 SAST + - cron: '0 4 * * *' # 0600 SAST env: REGISTRY: ghcr.io diff --git a/models/algoa-bay-forecast/toolkit/post-processing/src/cli/transform/__init__.py b/models/algoa-bay-forecast/toolkit/post-processing/src/cli/transform/__init__.py index 632454eb..2e47098c 100644 --- a/models/algoa-bay-forecast/toolkit/post-processing/src/cli/transform/__init__.py +++ b/models/algoa-bay-forecast/toolkit/post-processing/src/cli/transform/__init__.py @@ -128,7 +128,18 @@ def transform(options, arguments): ) print('-> Generated NetCDF dataset', str(datetime.now() - now)) - #Print output - data_out.to_netcdf(nc_output_path) + # Print output + data_out.to_netcdf(nc_output_path, encoding = { + 'temperature': { }, + 'salt': { }, + 'u': { }, + 'v': { }, + 'm_rho': { }, + 'lon_rho': { }, + 'lat_rho': { }, + 'depth': { }, + 'time': { 'dtype': 'i4' } + }) + print('-> Output NetCDF data to disk', str(datetime.now() - now)) print('\nComplete! If you don\'t see this message there was a problem') \ No newline at end of file