Skip to content

Commit

Permalink
Merge branch 'config_yaml' of github.com:C2SM/processing-chain into c…
Browse files Browse the repository at this point in the history
…onfig_yaml
  • Loading branch information
mjaehn committed Oct 19, 2023
2 parents 6c5d2a7 + e0a064c commit bc9e48c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobs/prepare_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ def main(starttime, hstart, hstop, cfg, model_cfg):
# Merge GEOSP-dataset with other timesteps
elif (time.hour != 0):
# Change values of time dimension to current time
da_geosp = da_geosp.assign_coords(time=[np.datetime64(time)])
da_geosp = da_geosp.assign_coords(
time=[np.datetime64(time)])
# Merge GEOSP into temporary file
ds_merged = xr.merge([ds, da_geosp])
ds_merged.attrs = ds.attrs
Expand Down

0 comments on commit bc9e48c

Please sign in to comment.