... | ... | @@ -81,11 +81,11 @@ Create a file with the gravity (in case of extraterrestrial model) |
|
|
Create simple space independent wind forcing
|
|
|
|
|
|
```python
|
|
|
t = [3600*j for j in range(3)] # t = [0, 3600, 7200]
|
|
|
t = [86400*j for j in range(8)] # t = [0, 86400, 172800, ...]
|
|
|
init_time = '2016-01-01 00:00:00'
|
|
|
time = slimPre.Time(time_vector=t, initial_time=init_time)
|
|
|
windEast = [-5.7, -6.5, -4.2]
|
|
|
windNorth = [0, 1.4, 4.1]
|
|
|
windEast = [-5.7, -6.5, -4.2, -5.1, -2, 0.1, 2.4, 1.6]
|
|
|
windNorth = [0.1, 1.4, 4.1, 3.2, 8.2, 4.1, 1.6, 2.1]
|
|
|
slimPre.write_file(data_dir+'wind.nc', region=None, time=time, data=[('wind_east', windEast), ('wind_north', windNorth)])
|
|
|
```
|
|
|
|
... | ... | |