(opendrift) daye@daye-Legion-T5-26IAB7:~/Code/OpenDrift/Gallery/Test/Test_Case$ python test.py 14:43:59 DEBUG opendrift.config:168: Adding 18 config items from __init__ 14:43:59 DEBUG opendrift.config:178: Overwriting config item readers:max_number_of_fails 14:43:59 DEBUG opendrift.config:168: Adding 14 config items from __init__ 14:43:59 INFO opendrift.models.basemodel:515: OpenDriftSimulation initialised (version 1.11.13 / v1.11.13-97-g25093ee) 14:43:59 DEBUG opendrift.config:168: Adding 15 config items from oceandrift 14:43:59 DEBUG opendrift.config:178: Overwriting config item seed:z 14:43:59 DEBUG opendrift.config:168: Adding 11 config items from openberg 14:43:59 DEBUG opendrift.config:178: Overwriting config item drift:stokes_drift 14:43:59 INFO opendrift.readers.reader_netCDF_CF_generic:102: Opening dataset: https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc 14:43:59 DEBUG opendrift.readers.reader_netCDF_CF_generic:119: Finding coordinate variables. 14:43:59 DEBUG opendrift.readers.reader_netCDF_CF_generic:134: Parsing CF grid mapping dictionary: {'grid_mapping_name': 'lambert_conformal_conic', 'standard_parallel': array([77.5, 77.5]), 'longitude_of_central_meridian': -25.0, 'latitude_of_projection_origin': 77.5, 'earth_radius': 6371000.0} 14:43:59 INFO opendrift.readers.reader_netCDF_CF_generic:325: Detected dimensions: {'time': 'time', 'x': 'X', 'y': 'Y', 'z': 'depth'} 14:43:59 DEBUG opendrift.readers.reader_netCDF_CF_generic:361: Skipped variables without standard_name: ['time_bnds', 'angle'] 14:43:59 WARNING opendrift.readers.basereader.variables:601: Assuming time step of 1 hour for https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc 14:43:59 DEBUG opendrift.readers.basereader.variables:608: Setting buffer size 10 for reader https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc, assuming a maximum average speed of 5 m/s and time span of 1:00:00 14:43:59 INFO opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity 14:43:59 INFO opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity 14:43:59 INFO opendrift.readers.basereader:176: Variable sea_ice_x_velocity will be rotated from eastward_sea_ice_velocity 14:43:59 INFO opendrift.readers.basereader:176: Variable sea_ice_y_velocity will be rotated from northward_sea_ice_velocity 14:43:59 DEBUG opendrift.readers.basereader:186: Variable mapping: ['sea_floor_depth_below_sea_level'] -> ['land_binary_mask'] is not activated 14:43:59 DEBUG opendrift.readers.basereader.variables:563: Adding variable mapping: ['sea_ice_x_velocity', 'sea_ice_y_velocity'] -> sea_ice_speed 14:43:59 DEBUG opendrift.readers.basereader.variables:563: Adding variable mapping: ['x_sea_water_velocity', 'y_sea_water_velocity'] -> sea_water_speed ['sea_floor_depth_below_sea_level', 'sea_binary_mask', 'sea_surface_height', 'eastward_sea_water_velocity', 'northward_sea_water_velocity', 'upward_sea_water_velocity', 'sea_water_temperature', 'sea_water_salinity', 'ocean_vertical_diffusivity', 'longitude', 'latitude', 'sea_ice_area_fraction', 'sea_ice_thickness', 'eastward_sea_ice_velocity', 'northward_sea_ice_velocity', 'x_sea_water_velocity', 'y_sea_water_velocity', 'sea_ice_x_velocity', 'sea_ice_y_velocity', 'sea_ice_speed', 'sea_water_speed'] 14:43:59 DEBUG opendrift.models.basemodel.environment:328: Added reader https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc 14:43:59 INFO opendrift.models.basemodel.environment:218: Adding a dynamical landmask with max. priority based on assumed maximum speed of 2.0 m/s. Adding a customised landmask may be faster... 14:43:59 DEBUG opendrift.readers.basereader:186: Variable mapping: ['sea_floor_depth_below_sea_level'] -> ['land_binary_mask'] is not activated 14:44:02 DEBUG opendrift.models.basemodel.environment:328: Added reader global_landmask 14:44:02 INFO opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers: 14:44:02 INFO opendrift.models.basemodel.environment:248: sea_surface_x_slope: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: sea_surface_y_slope: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: x_wind: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: y_wind: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_significant_height: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_from_direction: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_stokes_drift_x_velocity: 0.000000 14:44:02 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_stokes_drift_y_velocity: 0.000000 14:44:02 DEBUG opendrift.models.basemodel:95: Changed mode from Mode.Config to Mode.Ready 14:44:02 DEBUG opendrift.models.basemodel:95: Changed mode from Mode.Ready to Mode.Run 13:44:02 DEBUG opendrift.models.basemodel:1778: ------------------------------------------------------ Software and hardware: OpenDrift version 1.11.13 Platform: Linux, 5.15.0-125-generic 15.341197967529297 GB memory 12 processors (x86_64) NumPy version 1.26.4 SciPy version 1.14.1 Matplotlib version 3.9.1 NetCDF4 version 1.6.1 Xarray version 2024.10.0 ADIOS (adios_db) version 1.1.1 Copernicusmarine version 1.3.4 Python version 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) [GCC 12.3.0] ------------------------------------------------------ 13:44:02 DEBUG opendrift.models.basemodel:1792: No output file is specified, neglecting export_buffer_length 13:44:02 DEBUG opendrift.models.basemodel:1910: Finalizing environment and preparing readers for simulation coverage ([-56.18436121079374, 71.93692804284998, -55.764506587057824, 72.0666577725797]) and time (2024-12-04 14:43:59.783775 to 2024-12-04 15:43:59.783775) 13:44:02 DEBUG opendrift.models.basemodel.environment:180: Preparing https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc for extent [-56.18436121079374, 71.93692804284998, -55.764506587057824, 72.0666577725797] 13:44:02 DEBUG opendrift.readers.basereader.structured:153: Clearing cache for reader https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc before starting new simulation 13:44:02 WARNING opendrift.readers.basereader.variables:601: Assuming time step of 1 hour for https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc 13:44:02 DEBUG opendrift.readers.basereader.variables:608: Setting buffer size 5 for reader https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc, assuming a maximum average speed of 2 m/s and time span of 1:00:00 13:44:02 DEBUG opendrift.readers.basereader.variables:549: Nothing more to prepare for https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc 13:44:02 DEBUG opendrift.models.basemodel.environment:180: Preparing global_landmask for extent [-56.18436121079374, 71.93692804284998, -55.764506587057824, 72.0666577725797] 13:44:02 DEBUG opendrift.readers.basereader.variables:549: Nothing more to prepare for global_landmask 13:44:02 INFO opendrift.models.basemodel:936: Using existing reader for land_binary_mask 13:44:02 DEBUG opendrift.models.basemodel.environment:607: ---------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:608: Variable group ['land_binary_mask'] 13:44:02 DEBUG opendrift.models.basemodel.environment:609: ---------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:613: Calling reader global_landmask 13:44:02 DEBUG opendrift.models.basemodel.environment:614: ---------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:630: Data needed for 1 elements 13:44:02 DEBUG opendrift.readers.basereader.variables:752: Fetching variables from global_landmask covering 1 elements 13:44:02 DEBUG opendrift.readers.basereader.continuous:37: Fetched env-before 13:44:02 DEBUG opendrift.readers.basereader.variables:633: Checking land_binary_mask for invalid values 13:44:02 DEBUG opendrift.readers.basereader.variables:788: Reader projection is latlon - rotation of vectors is not needed. 13:44:02 DEBUG opendrift.models.basemodel.environment:764: Obtained data for all elements. 13:44:02 DEBUG opendrift.models.basemodel.environment:777: --------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:778: Finished processing all variable groups 13:44:02 DEBUG opendrift.models.basemodel.environment:903: ------------ SUMMARY ------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:905: land_binary_mask: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:907: --------------------------------- 13:44:02 INFO opendrift.models.basemodel:947: All points are in ocean 13:44:02 DEBUG opendrift.models.basemodel:891: to be seeded: 1, already seeded 0 13:44:02 DEBUG opendrift.models.basemodel:909: Released 1 new elements. 13:44:02 WARNING opendrift.models.basemodel:730: Seafloor check not being run because environment is missing. This will happen the first time the function is run but if it happens subsequently there is probably a problem. 13:44:02 DEBUG opendrift.models.basemodel:2037: ====================================================================== 13:44:02 INFO opendrift.models.basemodel:2038: 2024-12-04 14:43:59.783775 - step 1 of 1 - 1 active elements (0 deactivated) 13:44:02 DEBUG opendrift.models.basemodel:2044: 0 elements scheduled. 13:44:02 DEBUG opendrift.models.basemodel:2046: ====================================================================== 13:44:02 DEBUG opendrift.models.basemodel:2055: latitude = 72.00179 13:44:02 DEBUG opendrift.models.basemodel:2060: longitude = -55.974434 13:44:02 DEBUG opendrift.models.basemodel:2065: z = 0.0 13:44:02 DEBUG opendrift.models.basemodel:2068: --------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:498: Discarding reader (ends before simuation is finished): https://thredds.met.no/thredds/dodsC/romshindcast/barents2500_2010/daily_average/2013/01/barents_avg_zdepth_20130131_m00_HC_24h.nc 13:44:02 DEBUG opendrift.models.basemodel.environment:607: ---------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:608: Variable group ['land_binary_mask'] 13:44:02 DEBUG opendrift.models.basemodel.environment:609: ---------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:613: Calling reader global_landmask 13:44:02 DEBUG opendrift.models.basemodel.environment:614: ---------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:630: Data needed for 1 elements 13:44:02 DEBUG opendrift.readers.basereader.variables:752: Fetching variables from global_landmask covering 1 elements 13:44:02 DEBUG opendrift.readers.basereader.continuous:37: Fetched env-before 13:44:02 DEBUG opendrift.readers.basereader.variables:633: Checking land_binary_mask for invalid values 13:44:02 DEBUG opendrift.readers.basereader.variables:788: Reader projection is latlon - rotation of vectors is not needed. 13:44:02 DEBUG opendrift.models.basemodel.environment:764: Obtained data for all elements. 13:44:02 DEBUG opendrift.models.basemodel.environment:777: --------------------------------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:778: Finished processing all variable groups 13:44:02 DEBUG opendrift.models.basemodel.environment:798: Creating empty dictionary for profiles not profided by any reader: ['x_sea_water_velocity', 'y_sea_water_velocity', 'sea_water_temperature', 'sea_water_salinity'] 13:44:02 DEBUG opendrift.models.basemodel.environment:803: Using fallback value 2 for sea_water_temperature for all profiles 13:44:02 DEBUG opendrift.models.basemodel.environment:803: Using fallback value 35 for sea_water_salinity for all profiles 13:44:02 DEBUG opendrift.models.basemodel.environment:903: ------------ SUMMARY ------------- 13:44:02 DEBUG opendrift.models.basemodel.environment:905: x_sea_water_velocity: nan (min) nan (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: y_sea_water_velocity: nan (min) nan (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_floor_depth_below_sea_level: 10000 (min) 10000 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_surface_x_slope: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_surface_y_slope: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: x_wind: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: y_wind: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_surface_wave_significant_height: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_surface_wave_from_direction: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_surface_wave_stokes_drift_x_velocity: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_surface_wave_stokes_drift_y_velocity: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_water_temperature: 2 (min) 2 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_water_salinity: 35 (min) 35 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_ice_area_fraction: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_ice_thickness: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_ice_x_velocity: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: sea_ice_y_velocity: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:905: land_binary_mask: 0 (min) 0 (max) 13:44:02 DEBUG opendrift.models.basemodel.environment:907: --------------------------------- 13:44:02 DEBUG opendrift.models.physics_methods:993: Calculating Hs from wind, min: 0.000000, mean: 0.000000, max: 0.000000 13:44:02 WARNING opendrift.models.basemodel:2328: Missing variables: ['x_sea_water_velocity', 'y_sea_water_velocity'] 13:44:02 DEBUG opendrift.models.basemodel:659: No elements hit coastline. 13:44:02 DEBUG opendrift.models.basemodel:1683: Added status missing_data 13:44:02 DEBUG opendrift.models.basemodel:1694: 1 elements scheduled for deactivation (missing_data) 13:44:02 DEBUG opendrift.models.basemodel:1696: (z: 0.000000 to 0.000000) 13:44:02 DEBUG opendrift.models.basemodel:1714: Removed 1 elements. 13:44:02 DEBUG opendrift.models.basemodel:1717: Removed 1 values from environment. 13:44:02 DEBUG opendrift.models.basemodel:1722: remove items from profile for z 13:44:02 DEBUG opendrift.models.basemodel:1722: remove items from profile for sea_water_temperature 13:44:02 DEBUG opendrift.models.basemodel:1722: remove items from profile for sea_water_salinity 13:44:02 DEBUG opendrift.models.basemodel:1726: Removed 1 values from environment_profiles. 13:44:02 WARNING opendrift.models.basemodel:2134: The simulation stopped before requested end time was reached. 13:44:02 INFO opendrift.models.basemodel:2136: ======================== 13:44:02 INFO opendrift.models.basemodel:2137: End of simulation: 13:44:02 INFO opendrift.models.basemodel:2138: No more active or scheduled elements, quitting. 13:44:02 INFO opendrift.models.basemodel:2139: Traceback (most recent call last): File "/home/daye/Code/OpenDrift/opendrift/opendrift/models/basemodel/__init__.py", line 2101, in run raise ValueError( ValueError: No more active or scheduled elements, quitting. 13:44:02 INFO opendrift.models.basemodel:2140: "Missing variables: ['x_sea_water_velocity', 'y_sea_water_velocity']", 'The simulation stopped before requested end time was reached.' 13:44:02 INFO opendrift.models.basemodel:2143: ======================== Traceback (most recent call last): File "/home/daye/Code/OpenDrift/opendrift/opendrift/models/basemodel/__init__.py", line 2101, in run raise ValueError( ValueError: No more active or scheduled elements, quitting. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/daye/Code/OpenDrift/Gallery/Test/Test_Case/test.py", line 23, in o.run(steps=1) File "/home/daye/Code/OpenDrift/opendrift/opendrift/models/basemodel/__init__.py", line 111, in inner r = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/daye/Code/OpenDrift/opendrift/opendrift/models/basemodel/__init__.py", line 2147, in run raise ValueError('Simulation stopped within ' ValueError: Simulation stopped within first timestep. "Missing variables: ['x_sea_water_velocity', 'y_sea_water_velocity']", 'The simulation stopped before requested end time was reached.'