-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @songhan89 - nice to see you around here. In your example, are |
Beta Was this translation helpful? Give feedback.
-
Hi @jhamman , Sorry for the slow response. The use case is basically to compare different model forecast runs for the same time of the day (e.g comparing +24 hr from 00Z run vs +12 hr from 12Z run) I experimented using
with
|
Beta Was this translation helpful? Give feedback.
-
A few points:
IIUC you should only need to append along
At a conceptual level, you first "expand" the dataset on-disk using an "append". Then you write real values to the expanded portion using the |
Beta Was this translation helpful? Give feedback.
A few points:
time
andstep
are the orthogonal dimensions here,valid_time = time + step
. You should not need to add it to theexpand_dims
call.append_dim
only works along a single dimension.IIUC you should only need to append along
time
. Here's how:dask.array.ones
or similar. The shape of this dataset should match the size oflatitude ,longitude, step
dimensions on disk. The size of thetime
dimension is1
assuming you are ingesting a single forecast run. Make sure thetime
coordinate has the appropriate timestamp. https://github.com/e…