File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/virtualship/instruments Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 22from typing import ClassVar
33
44import numpy as np
5- from parcels import ParticleSet , ScipyParticle , Variable
65
6+ from parcels import ParticleSet , ScipyParticle , Variable
77from virtualship .instruments .base import Instrument
88from virtualship .instruments .types import InstrumentType
99from virtualship .utils import add_dummy_UV , register_instrument
@@ -58,14 +58,18 @@ class Underwater_STInstrument(Instrument):
5858 def __init__ (self , expedition , from_data ):
5959 """Initialize Underwater_STInstrument."""
6060 variables = {"S" : "so" , "T" : "thetao" }
61+ spacetime_buffer_size = {
62+ "latlon" : 0.25 , # [degrees]
63+ "time" : 0.0 , # [days]
64+ }
6165
6266 super ().__init__ (
6367 expedition ,
6468 variables ,
6569 add_bathymetry = False ,
6670 allow_time_extrapolation = True ,
6771 verbose_progress = False ,
68- spacetime_buffer_size = None ,
72+ spacetime_buffer_size = spacetime_buffer_size ,
6973 limit_spec = None ,
7074 from_data = from_data ,
7175 )
You can’t perform that action at this time.
0 commit comments