trainingdataset2013to2023francespain xarray.Dataset Dimensions: time: 16068latitude:…
- User
training_dataset_2013_to_2023_france_spain xarray.Dataset
Dimensions: time: 16068latitude: 61longitude: 71isobaricInhPa: 3
Coordinates: time (time) datetime64[ns] 2013-01-01 ... 2023-12-31T18:00:00
valid_time (time) datetime64[ns] ...
longitude (longitude) float64 -9.5 -9.25 -9.0 ... 7.5 7.75 8.0
latitude (latitude) float64 51.0 50.75 50.5 ... 36.5 36.25 36.0
isobaricInhPa (isobaricInhPa) float64 1e+03 925.0 850.0
number () int32 ...
step () timedelta64[ns] ...
Data variables: msl (time, latitude, longitude) float32 ...
u10 (time, latitude, longitude) float32 ...
v10 (time, latitude, longitude) float32 ...
t2m (time, latitude, longitude) float32 ...
lsm (time, latitude, longitude) float32 ...
u100 (time, latitude, longitude) float32 ...
v100 (time, latitude, longitude) float32 ...
tisr (time, latitude, longitude) float32 ...
z (time, isobaricInhPa, latitude, longitude) float32 ...
t (time, isobaricInhPa, latitude, longitude) float32 ...
u (time, isobaricInhPa, latitude, longitude) float32 ...
v (time, isobaricInhPa, latitude, longitude) float32 ...
q (time, isobaricInhPa, latitude, longitude) float32 ...
w (time, isobaricInhPa, latitude, longitude) float32 ...
id like you to give me a cell which will tansform this data into a dataset for training a convolutional model. i want the model to intake all the fields and output the u100 and v100. make a 5by 5 grid for each of the variables within. so what the model is doing is learning what the 100m wind will be like in the central gridpoint of the 5 by 5. While making the grids, keep only those which do not have 0 in lsm (land sea mask) in their central square ie we do not want the model to learn to guess the windspeed over sea, only land. So i want the inputs of my model to be a stack of 5by5 values which containsall the data variables and the targer for learning are the two values u100 and v100 of the central gridpoint. Once you process one time you do not need to recheck if the central grid is on sea or not, as the lsm values do not chenge though time.
- Assistant