Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/upload_to_dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- bump-debian-version
tags:
- '*'

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/extpar_cru_to_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: '
Expand Down
7 changes: 4 additions & 3 deletions python/extpar_emiss_to_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, :, :, :])

Expand Down
7 changes: 4 additions & 3 deletions python/extpar_ndvi_to_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, :, :, :])

Expand Down
Loading