Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions datasetconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"group": "GIOPS Forecast",
"subgroup": "3D",
"envtype": ["ocean", "ice"],
"url": "/data/db/giops-fc3dll-10day.sqlite3",
"url": "icechunk",
"bathymetry_file_url": "/data/grids/ecc/giops/bathy_meter_giops_latlon_reformatted-ONav.nc",
"name": "GIOPS 10 Day Daily Mean Forecast 3D - LatLon",
"quantum": "day",
"quantum": "hour",
"type": "forecast",
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Mercator",
Expand Down Expand Up @@ -38,7 +38,7 @@
"group": "GIOPS Forecast",
"subgroup": "2D",
"envtype": ["ocean", "ice"],
"url": "/data/db/giops-fc2dll-10day.sqlite3",
"url": "icechunk",
"name": "GIOPS 10 Day 3 Hour Mean Forecast Surface - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -87,7 +87,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Mercator",
"url": "/data/db/riops-fc2dll.sqlite3",
"url": "icechunk",
"attribution": "Environment and Climate Change Canada",
"lat_var_key": "latitude",
"lon_var_key": "longitude",
Expand Down Expand Up @@ -119,7 +119,7 @@
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"bathymetry_file_url": "/data/grids/ecc/riops/bathy_meter_riops_ps5km_reformatted-ONav.nc",
"url": "/data/db/riops-fc3dps.sqlite3",
"url": "icechunk",
"grid_angle_file_url": "/data/grids/ecc/riops/grid_angle_riops_ps5km60n.nc",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "latitude",
Expand Down Expand Up @@ -158,7 +158,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/riops-fc2dps.sqlite3",
"url": "icechunk",
"grid_angle_file_url": "/data/grids/ecc/riops/grid_angle_riops_ps5km60n.nc",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "latitude",
Expand Down Expand Up @@ -192,7 +192,7 @@
"group": "CIOPS Forecast",
"subgroup": "East",
"envtype": ["ocean", "ice"],
"url": "/data/db/ciops-east_fc_3dll.sqlite3",
"url": "icechunk",
"name": "CIOPS Forecast East 3D - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -226,7 +226,7 @@
"group": "CIOPS Forecast",
"subgroup": "East",
"envtype": ["ocean", "ice"],
"url": "/data/db/ciops-east_fc_2dll.sqlite3",
"url": "icechunk",
"name": "CIOPS Forecast East Surface - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -268,7 +268,7 @@
"group": "CIOPS Forecast",
"subgroup": "West",
"envtype": ["ocean", "ice"],
"url": "/data/db/ciops-west_fc_3dll.sqlite3",
"url": "icechunk",
"name": "CIOPS Forecast West 3D - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -302,7 +302,7 @@
"group": "CIOPS Forecast",
"subgroup": "West",
"envtype": ["ocean", "ice"],
"url": "/data/db/ciops-west_fc_2dll.sqlite3",
"url": "icechunk",
"name": "CIOPS Forecast West Surface - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -344,7 +344,7 @@
"group": "CIOPS Forecast",
"subgroup": "Salish Sea",
"envtype": ["ocean", "ice"],
"url": "/data/db/ciops-salish_fc_3dll.sqlite3",
"url": "icechunk",
"name": "CIOPS Forecast Salish Sea 3D - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -378,7 +378,7 @@
"group": "CIOPS Forecast",
"subgroup": "Salish Sea",
"envtype": ["ocean", "ice"],
"url": "/data/db/ciops-salish_fc_2dll.sqlite3",
"url": "icechunk",
"name": "CIOPS Forecast Salish Sea Surface - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -426,7 +426,7 @@
"type": "forecast",
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/caps-fc3drp.sqlite3",
"url": "icechunk",
"grid_angle_file_url": "/data/grids/ecc/caps/grid_angle_caps_rp.nc",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "latitude",
Expand All @@ -450,7 +450,7 @@
"type": "forecast",
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/caps-fc2drp.sqlite3",
"url": "icechunk",
"grid_angle_file_url": "/data/grids/ecc/caps/grid_angle_caps_rp.nc",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "latitude",
Expand Down Expand Up @@ -489,7 +489,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/canso100.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -516,7 +516,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/canso500.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -543,7 +543,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/fundy500.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -570,7 +570,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/kit100.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -597,7 +597,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/kit500.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -624,7 +624,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/sf30.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -651,7 +651,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/sj100.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -678,7 +678,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/sss150.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -705,7 +705,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/stle200.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -732,7 +732,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/stle500.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand All @@ -759,7 +759,7 @@
"cache": 6,
"time_dim_units": "seconds since 1950-01-01 00:00:00",
"model_class": "Nemo",
"url": "/data/db/vh20.sqlite3",
"url": "icechunk",
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
"lon_var_key": "lon",
Expand Down Expand Up @@ -894,7 +894,7 @@
"quantum": "hour",
"type": "forecast",
"model_class": "Mercator",
"enabled": true,
"enabled": false,
"cache": 6,
"attribution": "The Canadian Centre for Meteorological and Environmental Prediction",
"lat_var_key": "lat",
Expand Down Expand Up @@ -925,7 +925,7 @@
"group": "WCPS Forecast",
"subgroup": "2D",
"envtype": ["ocean", "ice"],
"url": "/data/db/wcps-2dll.sqlite3",
"url": "icechunk",
"name": "WCPS-GLS Great Lakes Coupled Atmosphere-Ocean-Ice Forecast - LatLon",
"quantum": "hour",
"type": "forecast",
Expand Down Expand Up @@ -966,7 +966,7 @@
"cmems_daily": {
"group": "CMEMS",
"subgroup": "Reanalysis",
"url": "/data/db/cmems_daily.sqlite3",
"url": "icechunk",
"name": "Copernicus Marine Service Global Ocean 1/12 deg Physics Reanalysis (Daily)",
"quantum": "day",
"type": "historical",
Expand Down Expand Up @@ -1001,7 +1001,7 @@
"cmems_monthly": {
"group": "CMEMS",
"subgroup": "Reanalysis",
"url": "/data/db/cmems_monthly.sqlite3",
"url": "icechunk",
"name": "Copernicus Marine Service Global Ocean 1/12 deg Physics Reanalysis (Monthly)",
"quantum": "month",
"type": "historical",
Expand Down Expand Up @@ -1037,7 +1037,7 @@
"group": "CMEMS",
"subgroup": "Climatology (1993-2019)",
"name": "CMEMS Global Ocean PHYS Reanalysis Climatology 1/12 deg",
"url": "/data/db/glorys12v1_global-annmean.sqlite3",
"url": "icechunk",
"help": "./data-help/glorys12_climatology_monthly.html",
"quantum": "year",
"type": "historical",
Expand Down Expand Up @@ -1072,7 +1072,7 @@
"group": "CMEMS",
"subgroup": "Climatology (1993-2019)",
"name": "CMEMS Global Ocean PHYS Reanalysis Climatology (Monthly mean) 1/12 deg",
"url": "/data/db/mercatorglorys12v1_gl12_mean_monthly.sqlite3",
"url": "icechunk",
"help": "./data-help/glorys12_climatology_monthly.html",
"quantum": "month",
"type": "historical",
Expand Down Expand Up @@ -1107,7 +1107,7 @@
"group": "CMEMS",
"subgroup": "Climatology (1993-2019)",
"name": "CMEMS Global Ocean PHYS Reanalysis Climatology (Seasonal mean) 1/12deg",
"url": "/data/db/mercatorglorys12v1_gl12_mean-seasonal.sqlite3",
"url": "icechunk",
"quantum": "season",
"type": "historical",
"time_dim_units": "hours since 1993-01-01",
Expand Down Expand Up @@ -1141,7 +1141,7 @@
"salishseacast_3d_biology": {
"group": "SalishSeaCast",
"subgroup": "3D",
"enabled": true,
"enabled": false,
"name": "SalishSeaCast 3D Biology",
"envtype": ["ocean"],
"type": "historical",
Expand Down Expand Up @@ -1175,7 +1175,7 @@
"salishseacast_3d_currents": {
"group": "SalishSeaCast",
"subgroup": "3D",
"enabled": true,
"enabled": false,
"name": "SalishSeaCast 3D Currents",
"envtype": ["ocean"],
"type": "historical",
Expand Down Expand Up @@ -1230,7 +1230,7 @@
"salishseacast_2d_ssh": {
"group": "SalishSeaCast",
"subgroup": "2D",
"enabled": true,
"enabled": false,
"name": "SalishSeaCast Sea Surface Height",
"envtype": ["ocean"],
"type": "historical",
Expand Down
4 changes: 3 additions & 1 deletion default.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ONAV_DRIFTER_AGG_URL = "http://172.17.0.9:8080/thredds/dodsC/Drifter/aggregated.
ONAV_DRIFTER_CATALOG_URL = "http://172.17.0.9:8080/thredds/catalog/Drifter/catalog.xml"
ONAV_DRIFTER_URL = "http://172.17.0.9:8080/thredds/dodsC/Drifter/%s.nc"
ONAV_ETOPO_FILE = "/data/misc/etopo_%s_z%d.nc"
ONAV_ICECHUNK_STORAGE_TYPE = "s3"
ONAV_ICECHUNK_STORAGE_CONFIG = "{}"
ONAV_LOG_LEVEL = "DEBUG"
ONAV_OBSERVATION_AGG_URL = "http://10.0.3.232:8080/thredds/dodsC/Misc/observations/aggregated.ncml"
ONAV_OVERLAY_KML_DIR = "/data/kml"
Expand All @@ -21,7 +23,7 @@ ONAV_PROFILING_DIR = "/home/ubuntu/cache/oceannavigator/profile_output/"
ONAV_SENTRY_ENV = ""
ONAV_SENTRY_TRACES_RATE = 0
ONAV_SHAPE_FILE_DIR = "/data/misc/shapes"
ONAV_SQLALCHEMY_DATABASE_URI = "mariadb+mariadbconnector://nav-read:hAReCT*L7fVZzd!F#A9T@142.130.249.15/navigator"
ONAV_SQLALCHEMY_DATABASE_URI = ""
ONAV_SQLALCHEMY_ECHO = False
ONAV_SQLALCHEMY_POOL_RECYCLE = 50
ONAV_SQLALCHEMY_TRACK_MODIFICATIONS = False
Expand Down
16 changes: 9 additions & 7 deletions testing.env
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
ONAV_BATHYMETRY_FILE = "/data/misc/ETOPO1_Bed_g_gmt4.grd"
ONAV_CACHE_DIR = "/home/ubuntu/cache/oceannavigator"
ONAV_BATHYMETRY_FILE = "tests/testdata/ETOPO1_Bed_g_gmt4.grd"
ONAV_CACHE_DIR = "/tmp/cache/oceannavigator"
ONAV_CLASS4_FNAME_PATTERN = "%s/%s/%s.nc"
ONAV_CLASS4_OP_PATH = "tests/testdata/class4/"
ONAV_CLASS4_RAO_PATH = "tests/testdata/class4-ola/"
ONAV_DASK_MULTIPROCESSING_CONTEXT = "spawn"
ONAV_DASK_NUM_WORKERS = 4
ONAV_DASK_SCHEDULER = "threads"
ONAV_DATASET_SHAPE_FILE_DIR = "/data/misc/dataset_shapes"
ONAV_DATASET_SHAPE_FILE_DIR = "tests/testdata/misc/dataset_shapes"
ONAV_DATASET_CONFIG_FILE = "tests/testdata/datasetconfigpatch.json"
ONAV_DEBUG = False
ONAV_DRIFTER_AGG_URL = "http://172.17.0.9:8080/thredds/dodsC/Drifter/aggregated.ncml"
ONAV_DRIFTER_CATALOG_URL = "http://172.17.0.9:8080/thredds/catalog/Drifter/catalog.xml"
ONAV_DRIFTER_URL = "http://172.17.0.9:8080/thredds/dodsC/Drifter/%s.nc"
ONAV_ETOPO_FILE = "/data/misc/etopo_%s_z%d.nc"
ONAV_ETOPO_FILE = "tests/testdata//misc/etopo_%s_z%d.nc"
ONAV_ICECHUNK_STORAGE_TYPE = "local"
ONAV_ICECHUNK_STORAGE_CONFIG = '{"path":"tests/testdata/icechunk"}'
ONAV_LOG_LEVEL = "INFO"
ONAV_OBSERVATION_AGG_URL = "http://10.0.3.232:8080/thredds/dodsC/Misc/observations/aggregated.ncml"
ONAV_OVERLAY_KML_DIR = "/data/kml"
ONAV_OVERLAY_KML_DIR = "tests/testdata/kml"
ONAV_SENTRY_ENV = ""
ONAV_SENTRY_TRACES_RATE = 0
ONAV_SHAPE_FILE_DIR = "/data/misc/shapes"
ONAV_SHAPE_FILE_DIR = "tests/testdata/misc/shapes"
ONAV_SQLALCHEMY_DATABASE_URI = "mysql://nav-read:hAReCT*L7fVZzd!F#A9T@172.17.0.4/navigator_2022"
ONAV_SQLALCHEMY_ECHO = False
ONAV_SQLALCHEMY_POOL_RECYCLE = 50
ONAV_SQLALCHEMY_TRACK_MODIFICATIONS = False
ONAV_TILE_CACHE_DIR = "/home/ubuntu/cache/oceannavigator/tiles"
ONAV_TILE_CACHE_DIR = "/tmp/cache/oceannavigator/tiles"