diff --git a/.github/workflows/upload_to_dockerhub.yml b/.github/workflows/upload_to_dockerhub.yml index 20601a88..60d1d674 100644 --- a/.github/workflows/upload_to_dockerhub.yml +++ b/.github/workflows/upload_to_dockerhub.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - bump-debian-version tags: - '*' diff --git a/Dockerfile.base b/Dockerfile.base index 06b72382..cc022cee 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -1,5 +1,5 @@ # Use the latest Debian image -FROM debian:bookworm-slim +FROM debian:trixie-slim # Set environment variables to avoid interactive prompts during package installation ENV DEBIAN_FRONTEND=noninteractive diff --git a/python/extpar_cru_to_buffer.py b/python/extpar_cru_to_buffer.py index e6e8920a..f2b0dc42 100755 --- a/python/extpar_cru_to_buffer.py +++ b/python/extpar_cru_to_buffer.py @@ -210,7 +210,7 @@ f'extract HSURF from {raw_data_tclim_fine} ' f'--> {step2_cdo}') - utils.launch_shell('cdo', lock, '-f', 'nc4', '-P', omp, '-selname,HSURF,', + utils.launch_shell('cdo', lock, '-f', 'nc4', '-P', omp, '-selname,HSURF', raw_data_tclim_fine, step2_cdo) logging.info('STEP 3: ' diff --git a/python/extpar_emiss_to_buffer.py b/python/extpar_emiss_to_buffer.py index 22f563e7..01b1cd50 100755 --- a/python/extpar_emiss_to_buffer.py +++ b/python/extpar_emiss_to_buffer.py @@ -201,9 +201,10 @@ emiss_mrat = np.empty((12, ke_tot, je_tot, ie_tot), dtype=mrat_meta.type) for t in np.arange(12): - emiss_mrat[t, :, :, :] = np.divide(emiss[t, :, :, :], - emiss_max[:, :, :], - where=emiss_max[:, :, :] != 0.0) + np.divide(emiss[t, :, :, :], + emiss_max[:, :, :], + out=emiss_mrat[t, :, :, :], + where=emiss_max[:, :, :] != 0.0) emiss_mrat[t, :, :, :] = np.where(emiss_max[:, :, :] <= 0.0, -1.0, emiss_mrat[t, :, :, :]) diff --git a/python/extpar_ndvi_to_buffer.py b/python/extpar_ndvi_to_buffer.py index fa04f6f2..fb775688 100755 --- a/python/extpar_ndvi_to_buffer.py +++ b/python/extpar_ndvi_to_buffer.py @@ -173,9 +173,10 @@ ndvi_mrat = np.empty((12, ke_tot, je_tot, ie_tot), dtype=mrat_meta.type) for t in np.arange(12): - ndvi_mrat[t, :, :, :] = np.divide(ndvi[t, :, :, :], - ndvi_max[:, :, :], - where=ndvi_max[:, :, :] != 0.0) + np.divide(ndvi[t, :, :, :], + ndvi_max[:, :, :], + out=ndvi_mrat[t, :, :, :], + where=ndvi_max[:, :, :] != 0.0) ndvi_mrat[t, :, :, :] = np.where(ndvi_max[:, :, :] <= 0.0, -1.0, ndvi_mrat[t, :, :, :])