diff --git a/argopy/__init__.py b/argopy/__init__.py index 1ed013c4..32dc4c5e 100644 --- a/argopy/__init__.py +++ b/argopy/__init__.py @@ -42,7 +42,7 @@ from .utils import MonitoredThreadPoolExecutor # noqa: E402, F401 from .utils import monitor_status as status # noqa: E402 from .related import TopoFetcher, OceanOPSDeployments, ArgoNVSReferenceTables, ArgoDocs, ArgoDOI # noqa: E402 -from .extensions import CanyonMED +from .extensions import CanyonMED # noqa: E402 # diff --git a/argopy/data_fetchers/argovis_data.py b/argopy/data_fetchers/argovis_data.py index d759d8c1..b065bb92 100755 --- a/argopy/data_fetchers/argovis_data.py +++ b/argopy/data_fetchers/argovis_data.py @@ -7,8 +7,7 @@ import warnings from ..stores import httpstore -from ..options import OPTIONS, DEFAULT, VALIDATE, PARALLEL_SETUP -from ..utils.format import format_oneline +from ..options import OPTIONS, DEFAULT, PARALLEL_SETUP from ..utils.chunking import Chunker from ..utils.decorators import deprecated from ..errors import DataNotFound @@ -87,7 +86,7 @@ def __init__( """ self.definition = "Argovis Argo data fetcher" self.dataset_id = OPTIONS["ds"] if ds == "" else ds - self.user_mode = kwargs["mode"] if "mode" in kwargs else OPTIONS["mode"] + self.user_mode = kwargs["mode"] if "mode" in kwargs else OPTIONS["mode"] self.server = kwargs["server"] if "server" in kwargs else api_server timeout = OPTIONS["api_timeout"] if api_timeout == 0 else api_timeout self.store_opts = { @@ -144,7 +143,6 @@ def _add_history(self, this, txt): this.attrs["history"] = txt return this - @property def cachepath(self): """Return path to cache file for this request""" @@ -165,7 +163,10 @@ def safe_for_fsspec_cache(url): return [safe_for_fsspec_cache(url) for url in urls] - @deprecated("Not serializable, please use 'argovis_data_processors.pre_process'", version="1.0.0") + @deprecated( + "Not serializable, please use 'argovis_data_processors.pre_process'", + version="1.0.0", + ) def json2dataframe(self, profiles): """convert json data to Pandas DataFrame""" # Make sure we deal with a list @@ -213,7 +214,7 @@ def to_dataframe(self, errors: str = "ignore") -> pd.DataFrame: """Load Argo data and return a Pandas dataframe""" # Download data: - preprocess_opts = {'key_map': self.key_map} + preprocess_opts = {"key_map": self.key_map} df_list = self.fs.open_mfjson( self.uri, method=self.parallel_method, diff --git a/argopy/data_fetchers/erddap_data.py b/argopy/data_fetchers/erddap_data.py index 6f9a1f55..c49458fd 100644 --- a/argopy/data_fetchers/erddap_data.py +++ b/argopy/data_fetchers/erddap_data.py @@ -11,21 +11,16 @@ """ import xarray as xr -import pandas as pd import numpy as np import copy -import time from abc import abstractmethod -import getpass from typing import Union from aiohttp import ClientResponseError import logging from erddapy.erddapy import ERDDAP, parse_dates from erddapy.erddapy import _quote_string_constraints as quote_string_constraints -import warnings from ..options import OPTIONS, PARALLEL_SETUP -from ..utils.format import format_oneline from ..utils.lists import list_bgc_s_variables, list_core_parameters from ..utils.decorators import deprecated from ..errors import ErddapServerError, DataNotFound diff --git a/argopy/data_fetchers/gdac_data.py b/argopy/data_fetchers/gdac_data.py index cf04b079..35f2c63a 100644 --- a/argopy/data_fetchers/gdac_data.py +++ b/argopy/data_fetchers/gdac_data.py @@ -13,7 +13,7 @@ import getpass import logging -from ..utils.format import format_oneline, argo_split_path +from ..utils.format import argo_split_path from ..utils.decorators import deprecated from ..options import OPTIONS, check_gdac_path, PARALLEL_SETUP from ..errors import DataNotFound @@ -40,8 +40,8 @@ class GDACArgoDataFetcher(ArgoDataFetcherProto): This class is a prototype not meant to be instantiated directly """ - data_source = "gdac" + data_source = "gdac" ### # Methods to be customised for a specific request @@ -119,7 +119,7 @@ def __init__( cachedir=cachedir, timeout=self.timeout, ) - self.fs = self.indexfs.fs["src"] # Re-use the appropriate file system + self.fs = self.indexfs.fs["src"] # Reuse the appropriate file system nrows = None if "N_RECORDS" in kwargs: @@ -140,7 +140,9 @@ def __repr__(self): summary.append(self._repr_access_point) summary.append(self._repr_server) if hasattr(self.indexfs, "index"): - summary.append("📗 Index: %s (%i records)" % (self.indexfs.index_file, self.N_RECORDS)) + summary.append( + "📗 Index: %s (%i records)" % (self.indexfs.index_file, self.N_RECORDS) + ) else: summary.append("📕 Index: %s (not loaded)" % self.indexfs.index_file) if hasattr(self.indexfs, "search"): @@ -233,7 +235,10 @@ def clear_cache(self): self.fs.clear_cache() return self - @deprecated("Not serializable, please use 'gdac_data_processors.pre_process_multiprof'", version="1.0.0") + @deprecated( + "Not serializable, please use 'gdac_data_processors.pre_process_multiprof'", + version="1.0.0", + ) def _preprocess_multiprof(self, ds): """Pre-process one Argo multi-profile file as a collection of points @@ -332,13 +337,13 @@ def to_xarray(self, errors: str = "ignore"): if hasattr(self, "BOX"): access_point = "BOX" - access_point_opts = {'BOX': self.BOX} + access_point_opts = {"BOX": self.BOX} elif hasattr(self, "CYC"): access_point = "CYC" - access_point_opts = {'CYC': self.CYC} + access_point_opts = {"CYC": self.CYC} elif hasattr(self, "WMO"): access_point = "WMO" - access_point_opts = {'WMO': self.WMO} + access_point_opts = {"WMO": self.WMO} # Download and pre-process data: ds = self.fs.open_mfdataset( @@ -379,7 +384,7 @@ def to_xarray(self, errors: str = "ignore"): ds.attrs["Fetched_from"] = self.server try: ds.attrs["Fetched_by"] = getpass.getuser() - except: + except: # noqa: E722 ds.attrs["Fetched_by"] = "anonymous" ds.attrs["Fetched_date"] = pd.to_datetime("now", utc=True).strftime( "%Y/%m/%d" @@ -393,17 +398,20 @@ def to_xarray(self, errors: str = "ignore"): return ds - @deprecated("Not serializable, please use 'gdac_data_processors.filter_points'", version="1.0.0") + @deprecated( + "Not serializable, please use 'gdac_data_processors.filter_points'", + version="1.0.0", + ) def filter_points(self, ds): if hasattr(self, "BOX"): access_point = "BOX" - access_point_opts = {'BOX': self.BOX} + access_point_opts = {"BOX": self.BOX} elif hasattr(self, "CYC"): access_point = "CYC" - access_point_opts = {'CYC': self.CYC} + access_point_opts = {"CYC": self.CYC} elif hasattr(self, "WMO"): access_point = "WMO" - access_point_opts = {'WMO': self.WMO} + access_point_opts = {"WMO": self.WMO} return filter_points(ds, access_point=access_point, **access_point_opts) def transform_data_mode(self, ds: xr.Dataset, **kwargs): diff --git a/argopy/data_fetchers/gdac_data_processors.py b/argopy/data_fetchers/gdac_data_processors.py index 7e94d8b3..763e9b96 100644 --- a/argopy/data_fetchers/gdac_data_processors.py +++ b/argopy/data_fetchers/gdac_data_processors.py @@ -1,7 +1,5 @@ import numpy as np -import pandas as pd import xarray as xr -import getpass def pre_process_multiprof( @@ -58,24 +56,6 @@ def pre_process_multiprof( ds.argo.profile2point() ) # Default output is a collection of points, along N_POINTS - - # Attributes are added by the caller - - # if dataset_id == "phy": - # ds.attrs["DATA_ID"] = "ARGO" - # if dataset_id in ["bgc", "bgc-s"]: - # ds.attrs["DATA_ID"] = "ARGO-BGC" - # - # ds.attrs["DOI"] = "http://doi.org/10.17882/42182" - # - # # ds.attrs["Fetched_from"] = server - # ds.attrs["Fetched_constraints"] = cname - # try: - # ds.attrs["Fetched_by"] = getpass.getuser() - # except: # noqa: E722 - # ds.attrs["Fetched_by"] = "anonymous" - # ds.attrs["Fetched_date"] = pd.to_datetime("now", utc=True).strftime("%Y/%m/%d") - # ds.attrs["Fetched_uri"] = ds.encoding["source"] ds = ds[np.sort(ds.data_vars)] if pre_filter_points: diff --git a/argopy/data_fetchers/proto.py b/argopy/data_fetchers/proto.py index f2da03cf..016776de 100644 --- a/argopy/data_fetchers/proto.py +++ b/argopy/data_fetchers/proto.py @@ -6,7 +6,7 @@ import warnings import logging from ..plot import dashboard -from ..utils.lists import list_standard_variables, list_bgc_s_variables +from ..utils.lists import list_standard_variables from ..utils.format import UriCName, format_oneline diff --git a/argopy/errors.py b/argopy/errors.py index f00fe900..2cc2705e 100644 --- a/argopy/errors.py +++ b/argopy/errors.py @@ -5,6 +5,7 @@ log = logging.getLogger("argopy.errors") + class NoData(ValueError): """Raise for no data""" def __init__(self, path: str = "?"): diff --git a/argopy/extensions/canyon_med.py b/argopy/extensions/canyon_med.py index feaeaa42..5d1c278e 100644 --- a/argopy/extensions/canyon_med.py +++ b/argopy/extensions/canyon_med.py @@ -47,7 +47,7 @@ class CanyonMED(ArgoAccessorExtension): .. [2] Fourrier, M., Coppola, L., Claustre, H., D’Ortenzio, F., Sauzède, R., and Gattuso, J.-P. (2021). Corrigendum: A Regional Neural Network Approach to Estimate Water-Column Nutrient Concentrations and Carbonate System Variables in the Mediterranean Sea: CANYON-MED. Frontiers in Marine Science 8. doi:10.3389/fmars.2021.650509. """ - # todo This class work with pandas dataframe, but we should keep xarray dataset internaly for the predictions + # todo This class work with pandas dataframe, but we should keep xarray dataset internally for the predictions ne = 7 """Number of inputs""" diff --git a/argopy/extensions/params_data_mode.py b/argopy/extensions/params_data_mode.py index 35b4cd3c..9892b495 100644 --- a/argopy/extensions/params_data_mode.py +++ b/argopy/extensions/params_data_mode.py @@ -1,5 +1,4 @@ import numpy as np -import pandas as pd import xarray as xr import logging import time @@ -32,7 +31,7 @@ class ParamsDataMode(ArgoAccessorExtension): :meth:`datamode.split` Examples - -------- + -------- >>> from argopy import DataFetcher >>> ArgoSet = DataFetcher(mode='expert').float(1902605) >>> ds = ArgoSet.to_xarray() diff --git a/argopy/fetchers.py b/argopy/fetchers.py index 025ae117..b0e9306c 100755 --- a/argopy/fetchers.py +++ b/argopy/fetchers.py @@ -21,7 +21,6 @@ InvalidFetcherAccessPoint, InvalidFetcher, OptionValueError, - OptionDeprecatedWarning, ) from .related import ( get_coriolis_profile_id, @@ -492,10 +491,10 @@ def workflow(xds): return xds else: - workflow = lambda x: x # Empty processor + workflow = lambda x: x # noqa: E731 else: - workflow = lambda x: x # Empty processor + workflow = lambda x: x # noqa: E731 self._pp_workflow = workflow diff --git a/argopy/options.py b/argopy/options.py index 21cc2c86..73564772 100644 --- a/argopy/options.py +++ b/argopy/options.py @@ -134,12 +134,12 @@ def VALIDATE(key, val): if key in _VALIDATORS: if not _VALIDATORS[key](val): raise OptionValueError( - f"option '%s' given an invalid value: '%s'" % (key, val) + f"option '{key}' given an invalid value: '{val}'" ) else: return val else: - raise ValueError(f"option '%s' has no validation method" % key) + raise ValueError(f"option '{key}' has no validation method") def PARALLEL_SETUP(parallel): diff --git a/argopy/related/reference_tables.py b/argopy/related/reference_tables.py index d92acf95..5139f5f7 100644 --- a/argopy/related/reference_tables.py +++ b/argopy/related/reference_tables.py @@ -59,7 +59,7 @@ class ArgoNVSReferenceTables: "R28", "R40", - + "RD2", "RMC", "RP2", diff --git a/argopy/stores/__init__.py b/argopy/stores/__init__.py index 55f9be94..4b447222 100644 --- a/argopy/stores/__init__.py +++ b/argopy/stores/__init__.py @@ -1,7 +1,7 @@ # from .argo_index_deprec import indexstore, indexfilter_wmo, indexfilter_box from .filesystems import filestore, httpstore, memorystore, ftpstore, s3store from .filesystems import httpstore_erddap, httpstore_erddap_auth -from .filesystems import has_distributed, distributed +from .filesystems import has_distributed, distributed # noqa: F401 from .argo_index_pa import indexstore_pyarrow as indexstore_pa from .argo_index_pd import indexstore_pandas as indexstore_pd diff --git a/argopy/stores/argo_index_pd.py b/argopy/stores/argo_index_pd.py index 5b3ee0a0..41701406 100644 --- a/argopy/stores/argo_index_pd.py +++ b/argopy/stores/argo_index_pd.py @@ -236,7 +236,6 @@ def read_dac_wmo(self, index=False): return results - def read_params(self, index=False): if self.convention not in ["argo_bio-profile_index", "argo_synthetic-profile_index", diff --git a/argopy/stores/filesystems.py b/argopy/stores/filesystems.py index e399d324..5ef5b6ed 100644 --- a/argopy/stores/filesystems.py +++ b/argopy/stores/filesystems.py @@ -45,7 +45,6 @@ FileSystemHasNoCache, CacheFileNotFound, DataNotFound, - NoDataLeft, InvalidMethod, ErddapHTTPUnauthorized, ErddapHTTPNotFound, diff --git a/argopy/tests/test_data/0a9892220be0aee7ef6dfd747a8139d6634f89f95e4e60ffaf8b2834a8a4e03c.nc b/argopy/tests/test_data/0a9892220be0aee7ef6dfd747a8139d6634f89f95e4e60ffaf8b2834a8a4e03c.nc index ce75370b..ce3028ae 100644 Binary files a/argopy/tests/test_data/0a9892220be0aee7ef6dfd747a8139d6634f89f95e4e60ffaf8b2834a8a4e03c.nc and b/argopy/tests/test_data/0a9892220be0aee7ef6dfd747a8139d6634f89f95e4e60ffaf8b2834a8a4e03c.nc differ diff --git a/argopy/tests/test_data/0dff09b865c98d376e650f80954c0d8de288d51dd030262b7085db0eab41a3eb.ncHeader b/argopy/tests/test_data/0dff09b865c98d376e650f80954c0d8de288d51dd030262b7085db0eab41a3eb.ncHeader index 36b69947..7a69c0ad 100644 --- a/argopy/tests/test_data/0dff09b865c98d376e650f80954c0d8de288d51dd030262b7085db0eab41a3eb.ncHeader +++ b/argopy/tests/test_data/0dff09b865c98d376e650f80954c0d8de288d51dd030262b7085db0eab41a3eb.ncHeader @@ -1,6 +1,6 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { dimensions: - row = 29599; + row = 29763; bbp700_adjusted_qc_strlen = 1; bbp700_qc_strlen = 1; cdom_adjusted_qc_strlen = 1; @@ -32,145 +32,74 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { temp_adjusted_qc_strlen = 1; temp_qc_strlen = 1; variables: - float bbp700(row=29599); - :_ChunkSizes = 106, 787; // int + float bbp700(row=29763); :_FillValue = 99999.0f; // float :actual_range = -1.953782E-4f, 0.04400722f; // float - :C_format = "%.7f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.7"; :long_name = "Particle backscattering at 700 nanometers"; - :resolution = 1.0E-7f; // float :sdn_parameter_urn = "SDN:P01::BB117NIR"; :units = "m-1"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float bbp700_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 4.475482E-5f, 0.04400722f; // float - :C_format = "%.7f"; - :FORTRAN_format = "F.7"; - :long_name = "Particle backscattering at 700 nanometers"; - :resolution = 1.0E-7f; // float - :units = "m-1"; + float bbp700_adjusted(row=29763); + :actual_range = 4.475482E-5f, 99999.0f; // float - float bbp700_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 8.950965E-6f, 0.002592091f; // float - :C_format = "%.7f"; - :FORTRAN_format = "F.7"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-7f; // float - :units = "m-1"; + float bbp700_adjusted_error(row=29763); + :actual_range = 8.950965E-6f, 99999.0f; // float - char bbp700_adjusted_qc(row=29599, bbp700_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char bbp700_adjusted_qc(row=29763, bbp700_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char bbp700_qc(row=29599, bbp700_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char bbp700_qc(row=29763, bbp700_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - float cdom(row=29599); - :_ChunkSizes = 106, 787; // int + float cdom(row=29763); :_FillValue = 99999.0f; // float :actual_range = -2.8832f, 18.4705f; // float - :C_format = "%.3f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.3"; :long_name = "Concentration of coloured dissolved organic matter in sea water"; - :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::CDOMZZ01"; :units = "ppb"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float cdom_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Concentration of coloured dissolved organic matter in sea water"; - :resolution = 0.001f; // float - :units = "ppb"; + float cdom_adjusted(row=29763); + :actual_range = 99999.0f, 99999.0f; // float - float cdom_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 0.001f; // float - :units = "ppb"; + float cdom_adjusted_error(row=29763); + :actual_range = 99999.0f, 99999.0f; // float - char cdom_adjusted_qc(row=29599, cdom_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char cdom_adjusted_qc(row=29763, cdom_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char cdom_qc(row=29599, cdom_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char cdom_qc(row=29763, cdom_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - float chla(row=29599); - :_ChunkSizes = 106, 787; // int + float chla(row=29763); :_FillValue = 99999.0f; // float :actual_range = -0.1728f, 13.45299f; // float - :C_format = "%.4f"; :cf_standard_name = "mass_concentration_of_chlorophyll_a_in_sea_water"; - :FORTRAN_format = "F.4"; :long_name = "Chlorophyll-A"; - :resolution = 0.025f; // float :sdn_parameter_urn = "SDN:P01::CPHLPR01"; - :standard_name = "mass_concentration_of_chlorophyll_a_in_sea_water"; :units = "mg/m3"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float chla_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -0.04015f, 4.0661f; // float - :C_format = "%.4f"; - :FORTRAN_format = "F.4"; - :long_name = "Chlorophyll-A"; - :resolution = 0.025f; // float - :standard_name = "mass_concentration_of_chlorophyll_a_in_sea_water"; - :units = "mg/m3"; + float chla_adjusted(row=29763); + :actual_range = -0.04015f, 99999.0f; // float - float chla_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.4f"; - :FORTRAN_format = "F.4"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 0.025f; // float - :units = "mg/m3"; + float chla_adjusted_error(row=29763); + :actual_range = 99999.0f, 99999.0f; // float - char chla_adjusted_qc(row=29599, chla_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char chla_adjusted_qc(row=29763, chla_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char chla_qc(row=29599, chla_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char chla_qc(row=29763, chla_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - int config_mission_number(row=29599); - :_ChunkSizes = 106; // int + int config_mission_number(row=29763); + :_ChunkSizes = 223; // int :_FillValue = 99999; // int :actual_range = 0, 65; // int :colorBarMaximum = 100.0; // double @@ -179,7 +108,7 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :ioos_category = "Statistics"; :long_name = "Unique number denoting the missions performed by the float"; - float cp660(row=29599); + float cp660(row=29763); :_FillValue = 99999.0f; // float :actual_range = 0.1697397f, 19.58223f; // float :cf_standard_name = "-"; @@ -189,19 +118,19 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = NaNf; // float :valid_min = NaNf; // float - float cp660_adjusted(row=29599); + float cp660_adjusted(row=29763); :actual_range = 99999.0f, 99999.0f; // float - float cp660_adjusted_error(row=29599); + float cp660_adjusted_error(row=29763); :actual_range = 99999.0f, 99999.0f; // float - char cp660_adjusted_qc(row=29599, cp660_adjusted_qc_strlen=1); + char cp660_adjusted_qc(row=29763, cp660_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - char cp660_qc(row=29599, cp660_qc_strlen=1); + char cp660_qc(row=29763, cp660_qc_strlen=1); :_Encoding = "ISO-8859-1"; - int cycle_number(row=29599); + int cycle_number(row=29763); :_FillValue = 99999; // int :actual_range = 0, 367; // int :cf_role = "profile_id"; @@ -210,8 +139,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :conventions = "0...N, 0 : launch cycle (if exists), 1 : first complete cycle"; :long_name = "Float cycle number"; - char direction(row=29599, direction_strlen=1); - :_ChunkSizes = 106; // int + char direction(row=29763, direction_strlen=1); + :_ChunkSizes = 223; // int :_Encoding = "ISO-8859-1"; :colorBarMaximum = 360.0; // double :colorBarMinimum = 0.0; // double @@ -219,215 +148,145 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :ioos_category = "Currents"; :long_name = "Direction of the station profiles"; - float down_irradiance380(row=29599); - :_ChunkSizes = 106, 787; // int + float down_irradiance380(row=29763); :_FillValue = 99999.0f; // float :actual_range = 4.040283E-5f, 0.6385083f; // float - :C_format = "%.6f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.6"; :long_name = "Downwelling irradiance at 380 nanometers"; - :resolution = 1.0E-6f; // float :sdn_parameter_urn = "SDN:P01::RXUD380E"; :units = "W/m^2/nm"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float down_irradiance380_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -4.40309E-5f, 0.6381621f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Downwelling irradiance at 380 nanometers"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + float down_irradiance380_adjusted(row=29763); + :actual_range = -4.40309E-5f, 99999.0f; // float - float down_irradiance380_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.5E-5f, 0.01276324f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + float down_irradiance380_adjusted_error(row=29763); + :actual_range = 2.5E-5f, 99999.0f; // float - char down_irradiance380_adjusted_qc(row=29599, down_irradiance380_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char down_irradiance380_adjusted_qc(row=29763, down_irradiance380_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char down_irradiance380_qc(row=29599, down_irradiance380_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char down_irradiance380_qc(row=29763, down_irradiance380_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - float down_irradiance412(row=29599); - :_ChunkSizes = 106, 787; // int + float down_irradiance412(row=29763); :_FillValue = 99999.0f; // float :actual_range = -1.153E-4f, 1.227665f; // float - :C_format = "%.6f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.6"; :long_name = "Downwelling irradiance at 412 nanometers"; - :resolution = 1.0E-6f; // float :sdn_parameter_urn = "SDN:P01::RXUD412E"; :units = "W/m^2/nm"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float down_irradiance412_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -1.226209E-5f, 1.075224f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Downwelling irradiance at 412 nanometers"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + float down_irradiance412_adjusted(row=29763); + :actual_range = -1.226209E-5f, 99999.0f; // float - float down_irradiance412_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.5E-5f, 0.02150448f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + float down_irradiance412_adjusted_error(row=29763); + :actual_range = 2.5E-5f, 99999.0f; // float - char down_irradiance412_adjusted_qc(row=29599, down_irradiance412_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char down_irradiance412_adjusted_qc(row=29763, down_irradiance412_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char down_irradiance412_qc(row=29599, down_irradiance412_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char down_irradiance412_qc(row=29763, down_irradiance412_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - float down_irradiance490(row=29599); - :_ChunkSizes = 106, 787; // int + float down_irradiance490(row=29763); :_FillValue = 99999.0f; // float :actual_range = -1.273E-4f, 1.711586f; // float - :C_format = "%.6f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.6"; :long_name = "Downwelling irradiance at 490 nanometers"; - :resolution = 1.0E-6f; // float :sdn_parameter_urn = "SDN:P01::RXUD490E"; :units = "W/m^2/nm"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float down_irradiance490_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -4.264853E-5f, 1.310853f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Downwelling irradiance at 490 nanometers"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + float down_irradiance490_adjusted(row=29763); + :actual_range = -4.264853E-5f, 99999.0f; // float - float down_irradiance490_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.5E-5f, 0.02621705f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + float down_irradiance490_adjusted_error(row=29763); + :actual_range = 2.5E-5f, 99999.0f; // float - char down_irradiance490_adjusted_qc(row=29599, down_irradiance490_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char down_irradiance490_adjusted_qc(row=29763, down_irradiance490_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char down_irradiance490_qc(row=29599, down_irradiance490_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char down_irradiance490_qc(row=29763, down_irradiance490_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - float downwelling_par(row=29599); - :_ChunkSizes = 106, 787; // int + float downwelling_par(row=29763); :_FillValue = 99999.0f; // float :actual_range = -0.01326383f, 1939.872f; // float - :C_format = "%.3f"; :cf_standard_name = "downwelling_photosynthetic_photon_flux_in_sea_water"; - :FORTRAN_format = "F.3"; :long_name = "Downwelling photosynthetic available radiation"; - :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::DWIRRXUD"; - :standard_name = "downwelling_photosynthetic_photon_flux_in_sea_water"; :units = "microMoleQuanta/m^2/sec"; :valid_max = NaNf; // float :valid_min = NaNf; // float - float downwelling_par_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -0.03640744f, 1509.441f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Downwelling photosynthetic available radiation"; - :resolution = 0.001f; // float - :standard_name = "downwelling_photosynthetic_photon_flux_in_sea_water"; - :units = "microMoleQuanta/m^2/sec"; + float downwelling_par_adjusted(row=29763); + :actual_range = -0.03640744f, 99999.0f; // float - float downwelling_par_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 0.03f, 75.47203f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 0.001f; // float - :units = "microMoleQuanta/m^2/sec"; + float downwelling_par_adjusted_error(row=29763); + :actual_range = 0.03f, 99999.0f; // float - char downwelling_par_adjusted_qc(row=29599, downwelling_par_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char downwelling_par_adjusted_qc(row=29763, downwelling_par_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - char downwelling_par_qc(row=29599, downwelling_par_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char downwelling_par_qc(row=29763, downwelling_par_qc_strlen=1); :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; - float doxy(row=29599); + float doxy(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -1526.135f, 11356.0f; // float + :C_format = "%.3f"; :cf_standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :FORTRAN_format = "F.3"; :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::DOXMZZXX"; + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; :units = "micromole/kg"; :valid_max = 600.0f; // float :valid_min = -5.0f; // float - float doxy_adjusted(row=29599); - :actual_range = -1655.856f, 99999.0f; // float + float doxy_adjusted(row=29763); + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = -1655.856f, 12321.26f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :units = "micromole/kg"; + :valid_max = 600.0f; // float + :valid_min = -5.0f; // float - float doxy_adjusted_error(row=29599); - :actual_range = 2.630909f, 99999.0f; // float + float doxy_adjusted_error(row=29763); + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = 2.630909f, 31.84704f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; + :resolution = 0.001f; // float + :units = "micromole/kg"; - char doxy_adjusted_qc(row=29599, doxy_adjusted_qc_strlen=1); + char doxy_adjusted_qc(row=29763, doxy_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; - char doxy_qc(row=29599, doxy_qc_strlen=1); + char doxy_qc(row=29763, doxy_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; - double latitude(row=29599); + double latitude(row=29763); :_CoordinateAxisType = "Lat"; :_FillValue = 99999.0; // double :actual_range = 55.00095666666667, 56.99997; // double @@ -441,7 +300,7 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 90.0; // double :valid_min = -90.0; // double - double longitude(row=29599); + double longitude(row=29763); :_CoordinateAxisType = "Lon"; :_FillValue = 99999.0; // double :actual_range = -54.999, -47.00874350000001; // double @@ -455,7 +314,7 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 180.0; // double :valid_min = -180.0; // double - float nitrate(row=29599); + float nitrate(row=29763); :_FillValue = 99999.0f; // float :actual_range = 3.829968f, 12.175f; // float :cf_standard_name = "moles_of_nitrate_per_unit_mass_in_sea_water"; @@ -465,21 +324,21 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = NaNf; // float :valid_min = NaNf; // float - float nitrate_adjusted(row=29599); + float nitrate_adjusted(row=29763); :actual_range = 0.9696299f, 99999.0f; // float - float nitrate_adjusted_error(row=29599); + float nitrate_adjusted_error(row=29763); :actual_range = 0.7363588f, 99999.0f; // float - char nitrate_adjusted_qc(row=29599, nitrate_adjusted_qc_strlen=1); + char nitrate_adjusted_qc(row=29763, nitrate_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - char nitrate_qc(row=29599, nitrate_qc_strlen=1); + char nitrate_qc(row=29763, nitrate_qc_strlen=1); :_Encoding = "ISO-8859-1"; - float ph_in_situ_total(row=29599); + float ph_in_situ_total(row=29763); :_FillValue = 99999.0f; // float - :actual_range = 5.686137f, 8.225677f; // float + :actual_range = 4.186288f, 8.225677f; // float :cf_standard_name = "sea_water_ph_reported_on_total_scale"; :long_name = "pH"; :sdn_parameter_urn = "SDN:P01::PHMASSXX"; @@ -487,34 +346,34 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = NaNf; // float :valid_min = NaNf; // float - float ph_in_situ_total_adjusted(row=29599); + float ph_in_situ_total_adjusted(row=29763); :actual_range = 99999.0f, 99999.0f; // float - float ph_in_situ_total_adjusted_error(row=29599); + float ph_in_situ_total_adjusted_error(row=29763); :actual_range = 99999.0f, 99999.0f; // float - char ph_in_situ_total_adjusted_qc(row=29599, ph_in_situ_total_adjusted_qc_strlen=1); + char ph_in_situ_total_adjusted_qc(row=29763, ph_in_situ_total_adjusted_qc_strlen=1); :_Encoding = "ISO-8859-1"; - char ph_in_situ_total_qc(row=29599, ph_in_situ_total_qc_strlen=1); + char ph_in_situ_total_qc(row=29763, ph_in_situ_total_qc_strlen=1); :_Encoding = "ISO-8859-1"; - char platform_number(row=29599, platform_number_strlen=7); + char platform_number(row=29763, platform_number_strlen=7); :_Encoding = "ISO-8859-1"; :cf_role = "trajectory_id"; :conventions = "WMO float identifier : A9IIIII"; :ioos_category = "Identifier"; :long_name = "Float unique identifier"; - char position_qc(row=29599); + char position_qc(row=29763); :actual_range = "18"; :colorBarMaximum = 150.0; // double :colorBarMinimum = 0.0; // double :conventions = "Argo reference table 2"; :long_name = "Quality on position (latitude and longitude)"; - float pres(row=29599); - :_ChunkSizes = 106, 787; // int + float pres(row=29763); + :_ChunkSizes = 223, 166; // int :_CoordinateAxisType = "Height"; :_FillValue = 99999.0f; // float :actual_range = 0.0f, 10.0f; // float @@ -530,8 +389,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 12000.0f; // float :valid_min = 0.0f; // float - float pres_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int + float pres_adjusted(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -4.768372E-7f, 10.49f; // float :axis = "Z"; @@ -544,8 +403,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 12000.0f; // float :valid_min = 0.0f; // float - float pres_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int + float pres_adjusted_error(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 2.0f, 2.4f; // float :C_format = "%.3f"; @@ -554,20 +413,20 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :resolution = 0.001f; // float :units = "decibar"; - char pres_adjusted_qc(row=29599, pres_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char pres_adjusted_qc(row=29763, pres_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - char pres_qc(row=29599, pres_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char pres_qc(row=29763, pres_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - float psal(row=29599); - :_ChunkSizes = 106, 787; // int + float psal(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 1.208f, 35.02467f; // float :C_format = "%.4f"; @@ -581,8 +440,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 41.0f; // float :valid_min = 2.0f; // float - float psal_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int + float psal_adjusted(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 1.868f, 35.02467f; // float :C_format = "%.4f"; @@ -594,8 +453,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 41.0f; // float :valid_min = 2.0f; // float - float psal_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int + float psal_adjusted_error(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 0.004f, 1.046394f; // float :C_format = "%.4f"; @@ -604,20 +463,20 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :resolution = 1.0E-4f; // float :units = "psu"; - char psal_adjusted_qc(row=29599, psal_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char psal_adjusted_qc(row=29763, psal_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - char psal_qc(row=29599, psal_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char psal_qc(row=29763, psal_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - float temp(row=29599); - :_ChunkSizes = 106, 787; // int + float temp(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -1.401f, 15.6335f; // float :C_format = "%.3f"; @@ -631,8 +490,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 40.0f; // float :valid_min = -2.5f; // float - float temp_adjusted(row=29599); - :_ChunkSizes = 106, 787; // int + float temp_adjusted(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -1.401f, 12.905f; // float :C_format = "%.3f"; @@ -644,8 +503,8 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :valid_max = 40.0f; // float :valid_min = -2.5f; // float - float temp_adjusted_error(row=29599); - :_ChunkSizes = 106, 787; // int + float temp_adjusted_error(row=29763); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 0.002f, 0.002f; // float :C_format = "%.3f"; @@ -654,21 +513,21 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :resolution = 0.001f; // float :units = "degree_Celsius"; - char temp_adjusted_qc(row=29599, temp_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char temp_adjusted_qc(row=29763, temp_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - char temp_qc(row=29599, temp_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char temp_qc(row=29763, temp_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - double time(row=29599); + double time(row=29763); :_CoordinateAxisType = "Time"; - :actual_range = 1.063557316224E9, 1.72760868E9; // double + :actual_range = 1.063557316224E9, 1.72899174E9; // double :axis = "T"; :conventions = "Relative julian days with decimal part (as parts of day)"; :ioos_category = "Time"; @@ -678,7 +537,7 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :time_origin = "01-JAN-1970 00:00:00"; :units = "seconds since 1970-01-01T00:00:00Z"; - char time_qc(row=29599); + char time_qc(row=29763); :actual_range = "11"; :colorBarMaximum = 150.0; // double :colorBarMinimum = 0.0; // double @@ -703,9 +562,9 @@ netcdf ArgoFloats-synthetic-BGC_0abd_084b_d559.nc { :geospatial_lon_max = -47.00874350000001; // double :geospatial_lon_min = -54.999; // double :geospatial_lon_units = "degrees_east"; - :history = "2024-09-24T16:12:38Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) -2024-10-01T14:01:18Z (local files) -2024-10-01T14:01:18Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?bbp700,bbp700_adjusted,bbp700_adjusted_error,bbp700_adjusted_qc,bbp700_qc,cdom,cdom_adjusted,cdom_adjusted_error,cdom_adjusted_qc,cdom_qc,chla,chla_adjusted,chla_adjusted_error,chla_adjusted_qc,chla_qc,config_mission_number,cp660,cp660_adjusted,cp660_adjusted_error,cp660_adjusted_qc,cp660_qc,cycle_number,direction,down_irradiance380,down_irradiance380_adjusted,down_irradiance380_adjusted_error,down_irradiance380_adjusted_qc,down_irradiance380_qc,down_irradiance412,down_irradiance412_adjusted,down_irradiance412_adjusted_error,down_irradiance412_adjusted_qc,down_irradiance412_qc,down_irradiance490,down_irradiance490_adjusted,down_irradiance490_adjusted_error,down_irradiance490_adjusted_qc,down_irradiance490_qc,downwelling_par,downwelling_par_adjusted,downwelling_par_adjusted_error,downwelling_par_adjusted_qc,downwelling_par_qc,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,nitrate,nitrate_adjusted,nitrate_adjusted_error,nitrate_adjusted_qc,nitrate_qc,ph_in_situ_total,ph_in_situ_total_adjusted,ph_in_situ_total_adjusted_error,ph_in_situ_total_adjusted_qc,ph_in_situ_total_qc,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&longitude%3E=-55&longitude%3C=-47&latitude%3E=55&latitude%3C=57&pres%3E=0&pres%3C=10&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; + :history = "2024-10-15T19:15:14Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) +2024-10-16T08:41:04Z (local files) +2024-10-16T08:41:04Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?bbp700,bbp700_adjusted,bbp700_adjusted_error,bbp700_adjusted_qc,bbp700_qc,cdom,cdom_adjusted,cdom_adjusted_error,cdom_adjusted_qc,cdom_qc,chla,chla_adjusted,chla_adjusted_error,chla_adjusted_qc,chla_qc,config_mission_number,cp660,cp660_adjusted,cp660_adjusted_error,cp660_adjusted_qc,cp660_qc,cycle_number,direction,down_irradiance380,down_irradiance380_adjusted,down_irradiance380_adjusted_error,down_irradiance380_adjusted_qc,down_irradiance380_qc,down_irradiance412,down_irradiance412_adjusted,down_irradiance412_adjusted_error,down_irradiance412_adjusted_qc,down_irradiance412_qc,down_irradiance490,down_irradiance490_adjusted,down_irradiance490_adjusted_error,down_irradiance490_adjusted_qc,down_irradiance490_qc,downwelling_par,downwelling_par_adjusted,downwelling_par_adjusted_error,downwelling_par_adjusted_qc,downwelling_par_qc,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,nitrate,nitrate_adjusted,nitrate_adjusted_error,nitrate_adjusted_qc,nitrate_qc,ph_in_situ_total,ph_in_situ_total_adjusted,ph_in_situ_total_adjusted_error,ph_in_situ_total_adjusted_qc,ph_in_situ_total_qc,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&longitude%3E=-55&longitude%3C=-47&latitude%3E=55&latitude%3C=57&pres%3E=0&pres%3C=10&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; :id = "https://doi.org/10.17882/42182"; :infoUrl = "http://www.argodatamgt.org/Documentation"; :institution = "Argo"; @@ -728,7 +587,7 @@ completeness, or usefulness, of this information."; :subsetVariables = "data_type, data_centre, platform_type, wmo_inst_type, time_qc, position_qc, pres_qc"; :summary = "Argo float synthetic vertical profiles : BGC data"; :testOutOfDate = "now-5days"; - :time_coverage_end = "2024-09-29T11:18:00Z"; + :time_coverage_end = "2024-10-15T11:29:00Z"; :time_coverage_start = "2003-09-14T16:35:16Z"; :title = "Argo float synthetic vertical profiles : BGC data"; :user_manual_version = "1.0"; diff --git a/argopy/tests/test_data/163a1c42f872d1a3d10a795d581fa8e676d2698a8ef9135bde278cdbb05612d9.ncHeader b/argopy/tests/test_data/163a1c42f872d1a3d10a795d581fa8e676d2698a8ef9135bde278cdbb05612d9.ncHeader index bdb0e8c0..912c4b74 100644 --- a/argopy/tests/test_data/163a1c42f872d1a3d10a795d581fa8e676d2698a8ef9135bde278cdbb05612d9.ncHeader +++ b/argopy/tests/test_data/163a1c42f872d1a3d10a795d581fa8e676d2698a8ef9135bde278cdbb05612d9.ncHeader @@ -13,7 +13,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { temp_qc_strlen = 1; variables: int config_mission_number(row=83615); - :_ChunkSizes = 106; // int + :_ChunkSizes = 223; // int :_FillValue = 99999; // int :actual_range = 1, 12; // int :colorBarMaximum = 100.0; // double @@ -32,7 +32,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :long_name = "Float cycle number"; char direction(row=83615, direction_strlen=1); - :_ChunkSizes = 106; // int + :_ChunkSizes = 223; // int :_Encoding = "ISO-8859-1"; :colorBarMaximum = 360.0; // double :colorBarMinimum = 0.0; // double @@ -41,26 +41,54 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :long_name = "Direction of the station profiles"; float doxy(row=83615); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 259.8413f, 344.439f; // float + :C_format = "%.3f"; :cf_standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :FORTRAN_format = "F.3"; :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::DOXMZZXX"; + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; :units = "micromole/kg"; :valid_max = 600.0f; // float :valid_min = -5.0f; // float float doxy_adjusted(row=83615); - :actual_range = 264.4146f, 99999.0f; // float + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = 264.4146f, 350.5012f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :units = "micromole/kg"; + :valid_max = 600.0f; // float + :valid_min = -5.0f; // float float doxy_adjusted_error(row=83615); - :actual_range = 12.55041f, 99999.0f; // float + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = 12.55041f, 17.08033f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; + :resolution = 0.001f; // float + :units = "micromole/kg"; char doxy_adjusted_qc(row=83615, doxy_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; char doxy_qc(row=83615, doxy_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; double latitude(row=83615); :_CoordinateAxisType = "Lat"; @@ -105,7 +133,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :long_name = "Quality on position (latitude and longitude)"; float pres(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_CoordinateAxisType = "Height"; :_FillValue = 99999.0f; // float :actual_range = -0.29f, 2005.056f; // float @@ -122,7 +150,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :valid_min = 0.0f; // float float pres_adjusted(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -4.054f, 2003.352f; // float :axis = "Z"; @@ -136,7 +164,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :valid_min = 0.0f; // float float pres_adjusted_error(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :C_format = "%.3f"; :FORTRAN_format = "F.3"; @@ -145,19 +173,19 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :units = "decibar"; char pres_adjusted_qc(row=83615, pres_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; char pres_qc(row=83615, pres_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; float psal(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 27.411f, 34.936f; // float :C_format = "%.4f"; @@ -172,7 +200,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :valid_min = 2.0f; // float float psal_adjusted(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 34.20806f, 34.93495f; // float :C_format = "%.4f"; @@ -185,7 +213,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :valid_min = 2.0f; // float float psal_adjusted_error(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :C_format = "%.4f"; :FORTRAN_format = "F.4"; @@ -194,19 +222,19 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :units = "psu"; char psal_adjusted_qc(row=83615, psal_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; char psal_qc(row=83615, psal_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; float temp(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 3.139f, 12.609f; // float :C_format = "%.3f"; @@ -221,7 +249,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :valid_min = -2.5f; // float float temp_adjusted(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 3.139f, 12.609f; // float :C_format = "%.3f"; @@ -234,7 +262,7 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :valid_min = -2.5f; // float float temp_adjusted_error(row=83615); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :C_format = "%.3f"; :FORTRAN_format = "F.3"; @@ -243,13 +271,13 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :units = "degree_Celsius"; char temp_adjusted_qc(row=83615, temp_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; char temp_qc(row=83615, temp_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; @@ -291,9 +319,9 @@ netcdf ArgoFloats-synthetic-BGC_0478_10ce_d179.nc { :geospatial_lon_max = -43.740898; // double :geospatial_lon_min = -53.10385516666667; // double :geospatial_lon_units = "degrees_east"; - :history = "2024-09-24T16:12:38Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) -2024-10-01T14:03:29Z (local files) -2024-10-01T14:03:29Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?config_mission_number,cycle_number,direction,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&platform_number=~%226904241%22&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; + :history = "2024-10-15T19:15:14Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) +2024-10-16T08:54:33Z (local files) +2024-10-16T08:54:33Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?config_mission_number,cycle_number,direction,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&platform_number=~%226904241%22&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; :id = "https://doi.org/10.17882/42182"; :infoUrl = "http://www.argodatamgt.org/Documentation"; :institution = "Argo"; diff --git a/argopy/tests/test_data/256df2864499d7cd270eb5e126e076b13f2a48403f72b31c45590a0f6b1618d9.nc b/argopy/tests/test_data/256df2864499d7cd270eb5e126e076b13f2a48403f72b31c45590a0f6b1618d9.nc index 90320954..749364fe 100644 Binary files a/argopy/tests/test_data/256df2864499d7cd270eb5e126e076b13f2a48403f72b31c45590a0f6b1618d9.nc and b/argopy/tests/test_data/256df2864499d7cd270eb5e126e076b13f2a48403f72b31c45590a0f6b1618d9.nc differ diff --git a/argopy/tests/test_data/3b10495d5b70484c9eda7a5572af79fceb3ba19166e3733b9638f578e7803e89.nc b/argopy/tests/test_data/3b10495d5b70484c9eda7a5572af79fceb3ba19166e3733b9638f578e7803e89.nc index a818497c..aeae1def 100644 Binary files a/argopy/tests/test_data/3b10495d5b70484c9eda7a5572af79fceb3ba19166e3733b9638f578e7803e89.nc and b/argopy/tests/test_data/3b10495d5b70484c9eda7a5572af79fceb3ba19166e3733b9638f578e7803e89.nc differ diff --git a/argopy/tests/test_data/918d01b8821b8c7ed4cf8381f92997155c7c659bae31d4114aa848c0764c5636.ncHeader b/argopy/tests/test_data/918d01b8821b8c7ed4cf8381f92997155c7c659bae31d4114aa848c0764c5636.ncHeader index e3e12352..2036a9d6 100644 --- a/argopy/tests/test_data/918d01b8821b8c7ed4cf8381f92997155c7c659bae31d4114aa848c0764c5636.ncHeader +++ b/argopy/tests/test_data/918d01b8821b8c7ed4cf8381f92997155c7c659bae31d4114aa848c0764c5636.ncHeader @@ -33,143 +33,73 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { temp_qc_strlen = 1; variables: float bbp700(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = 2.016987E-4f, 0.01180728f; // float - :C_format = "%.7f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.7"; :long_name = "Particle backscattering at 700 nanometers"; - :resolution = 1.0E-7f; // float :sdn_parameter_urn = "SDN:P01::BB117NIR"; :units = "m-1"; :valid_max = NaNf; // float :valid_min = NaNf; // float float bbp700_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.016987E-4f, 0.01180728f; // float - :C_format = "%.7f"; - :FORTRAN_format = "F.7"; - :long_name = "Particle backscattering at 700 nanometers"; - :resolution = 1.0E-7f; // float - :units = "m-1"; + :actual_range = 2.016987E-4f, 99999.0f; // float float bbp700_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.7f"; - :FORTRAN_format = "F.7"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-7f; // float - :units = "m-1"; + :actual_range = 99999.0f, 99999.0f; // float char bbp700_adjusted_qc(row=5041, bbp700_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char bbp700_qc(row=5041, bbp700_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; float cdom(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = -2.012117f, 2.564167f; // float - :C_format = "%.3f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.3"; :long_name = "Concentration of coloured dissolved organic matter in sea water"; - :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::CDOMZZ01"; :units = "ppb"; :valid_max = NaNf; // float :valid_min = NaNf; // float float cdom_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Concentration of coloured dissolved organic matter in sea water"; - :resolution = 0.001f; // float - :units = "ppb"; + :actual_range = 99999.0f, 99999.0f; // float float cdom_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 0.001f; // float - :units = "ppb"; + :actual_range = 99999.0f, 99999.0f; // float char cdom_adjusted_qc(row=5041, cdom_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char cdom_qc(row=5041, cdom_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; float chla(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = 0.0438f, 13.45299f; // float - :C_format = "%.4f"; :cf_standard_name = "mass_concentration_of_chlorophyll_a_in_sea_water"; - :FORTRAN_format = "F.4"; :long_name = "Chlorophyll-A"; - :resolution = 0.025f; // float :sdn_parameter_urn = "SDN:P01::CPHLPR01"; - :standard_name = "mass_concentration_of_chlorophyll_a_in_sea_water"; :units = "mg/m3"; :valid_max = NaNf; // float :valid_min = NaNf; // float float chla_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 0.0803f, 3.5186f; // float - :C_format = "%.4f"; - :FORTRAN_format = "F.4"; - :long_name = "Chlorophyll-A"; - :resolution = 0.025f; // float - :standard_name = "mass_concentration_of_chlorophyll_a_in_sea_water"; - :units = "mg/m3"; + :actual_range = 0.0803f, 99999.0f; // float float chla_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :C_format = "%.4f"; - :FORTRAN_format = "F.4"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 0.025f; // float - :units = "mg/m3"; + :actual_range = 99999.0f, 99999.0f; // float char chla_adjusted_qc(row=5041, chla_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char chla_qc(row=5041, chla_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; int config_mission_number(row=5041); - :_ChunkSizes = 106; // int + :_ChunkSizes = 223; // int :_FillValue = 99999; // int :actual_range = 1, 16; // int :colorBarMaximum = 100.0; // double @@ -210,7 +140,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :long_name = "Float cycle number"; char direction(row=5041, direction_strlen=1); - :_ChunkSizes = 106; // int + :_ChunkSizes = 223; // int :_Encoding = "ISO-8859-1"; :colorBarMaximum = 360.0; // double :colorBarMinimum = 0.0; // double @@ -219,212 +149,142 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :long_name = "Direction of the station profiles"; float down_irradiance380(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = 1.667699E-4f, 0.5660256f; // float - :C_format = "%.6f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.6"; :long_name = "Downwelling irradiance at 380 nanometers"; - :resolution = 1.0E-6f; // float :sdn_parameter_urn = "SDN:P01::RXUD380E"; :units = "W/m^2/nm"; :valid_max = NaNf; // float :valid_min = NaNf; // float float down_irradiance380_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -4.40309E-5f, 0.4718581f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Downwelling irradiance at 380 nanometers"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + :actual_range = -4.40309E-5f, 99999.0f; // float float down_irradiance380_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.5E-5f, 0.009437162f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + :actual_range = 2.5E-5f, 99999.0f; // float char down_irradiance380_adjusted_qc(row=5041, down_irradiance380_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char down_irradiance380_qc(row=5041, down_irradiance380_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; float down_irradiance412(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = 6.57517E-5f, 1.100864f; // float - :C_format = "%.6f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.6"; :long_name = "Downwelling irradiance at 412 nanometers"; - :resolution = 1.0E-6f; // float :sdn_parameter_urn = "SDN:P01::RXUD412E"; :units = "W/m^2/nm"; :valid_max = NaNf; // float :valid_min = NaNf; // float float down_irradiance412_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -1.226209E-5f, 0.8742118f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Downwelling irradiance at 412 nanometers"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + :actual_range = -1.226209E-5f, 99999.0f; // float float down_irradiance412_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.5E-5f, 0.01748424f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + :actual_range = 2.5E-5f, 99999.0f; // float char down_irradiance412_adjusted_qc(row=5041, down_irradiance412_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char down_irradiance412_qc(row=5041, down_irradiance412_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; float down_irradiance490(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = -8.08818E-5f, 1.255575f; // float - :C_format = "%.6f"; :cf_standard_name = "-"; - :FORTRAN_format = "F.6"; :long_name = "Downwelling irradiance at 490 nanometers"; - :resolution = 1.0E-6f; // float :sdn_parameter_urn = "SDN:P01::RXUD490E"; :units = "W/m^2/nm"; :valid_max = NaNf; // float :valid_min = NaNf; // float float down_irradiance490_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -4.264853E-5f, 1.255584f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Downwelling irradiance at 490 nanometers"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + :actual_range = -4.264853E-5f, 99999.0f; // float float down_irradiance490_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 2.5E-5f, 0.02511167f; // float - :C_format = "%.6f"; - :FORTRAN_format = "F.6"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 1.0E-6f; // float - :units = "W/m^2/nm"; + :actual_range = 2.5E-5f, 99999.0f; // float char down_irradiance490_adjusted_qc(row=5041, down_irradiance490_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char down_irradiance490_qc(row=5041, down_irradiance490_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; float downwelling_par(row=5041); - :_ChunkSizes = 106, 787; // int :_FillValue = 99999.0f; // float :actual_range = -0.01326383f, 1309.106f; // float - :C_format = "%.3f"; :cf_standard_name = "downwelling_photosynthetic_photon_flux_in_sea_water"; - :FORTRAN_format = "F.3"; :long_name = "Downwelling photosynthetic available radiation"; - :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::DWIRRXUD"; - :standard_name = "downwelling_photosynthetic_photon_flux_in_sea_water"; :units = "microMoleQuanta/m^2/sec"; :valid_max = NaNf; // float :valid_min = NaNf; // float float downwelling_par_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = -0.03640744f, 1308.671f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Downwelling photosynthetic available radiation"; - :resolution = 0.001f; // float - :standard_name = "downwelling_photosynthetic_photon_flux_in_sea_water"; - :units = "microMoleQuanta/m^2/sec"; + :actual_range = -0.03640744f, 99999.0f; // float float downwelling_par_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int - :_FillValue = 99999.0f; // float - :actual_range = 0.03f, 65.43353f; // float - :C_format = "%.3f"; - :FORTRAN_format = "F.3"; - :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; - :resolution = 0.001f; // float - :units = "microMoleQuanta/m^2/sec"; + :actual_range = 0.03f, 99999.0f; // float char downwelling_par_adjusted_qc(row=5041, downwelling_par_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; char downwelling_par_qc(row=5041, downwelling_par_qc_strlen=1); - :_ChunkSizes = 106, 787; // int :_Encoding = "ISO-8859-1"; - :conventions = "Argo reference table 2"; - :long_name = "quality flag"; float doxy(row=5041); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -1526.135f, 11356.0f; // float + :C_format = "%.3f"; :cf_standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :FORTRAN_format = "F.3"; :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::DOXMZZXX"; + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; :units = "micromole/kg"; :valid_max = 600.0f; // float :valid_min = -5.0f; // float float doxy_adjusted(row=5041); - :actual_range = -1655.856f, 99999.0f; // float + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = -1655.856f, 12321.26f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :units = "micromole/kg"; + :valid_max = 600.0f; // float + :valid_min = -5.0f; // float float doxy_adjusted_error(row=5041); - :actual_range = 8.415855f, 99999.0f; // float + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = 8.415855f, 31.84704f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; + :resolution = 0.001f; // float + :units = "micromole/kg"; char doxy_adjusted_qc(row=5041, doxy_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; char doxy_qc(row=5041, doxy_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; double latitude(row=5041); :_CoordinateAxisType = "Lat"; @@ -513,7 +373,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :long_name = "Quality on position (latitude and longitude)"; float pres(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_CoordinateAxisType = "Height"; :_FillValue = 99999.0f; // float :actual_range = 0.0f, 10.0f; // float @@ -530,7 +390,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :valid_min = 0.0f; // float float pres_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -2.649095E-7f, 10.0f; // float :axis = "Z"; @@ -544,7 +404,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :valid_min = 0.0f; // float float pres_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 2.0f, 2.4f; // float :C_format = "%.3f"; @@ -554,19 +414,19 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :units = "decibar"; char pres_adjusted_qc(row=5041, pres_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; char pres_qc(row=5041, pres_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; float psal(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 1.868f, 34.767f; // float :C_format = "%.4f"; @@ -581,7 +441,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :valid_min = 2.0f; // float float psal_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 1.868f, 34.7755f; // float :C_format = "%.4f"; @@ -594,7 +454,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :valid_min = 2.0f; // float float psal_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 0.004f, 0.01f; // float :C_format = "%.4f"; @@ -604,19 +464,19 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :units = "psu"; char psal_adjusted_qc(row=5041, psal_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; char psal_qc(row=5041, psal_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; float temp(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 0.884f, 11.566f; // float :C_format = "%.3f"; @@ -631,7 +491,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :valid_min = -2.5f; // float float temp_adjusted(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 1.471667f, 11.566f; // float :C_format = "%.3f"; @@ -644,7 +504,7 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :valid_min = -2.5f; // float float temp_adjusted_error(row=5041); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 0.002f, 0.002f; // float :C_format = "%.3f"; @@ -654,13 +514,13 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :units = "degree_Celsius"; char temp_adjusted_qc(row=5041, temp_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; char temp_qc(row=5041, temp_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; @@ -702,9 +562,9 @@ netcdf ArgoFloats-synthetic-BGC_8594_142f_17f2.nc { :geospatial_lon_max = -47.119708333333335; // double :geospatial_lon_min = -54.40875833333333; // double :geospatial_lon_units = "degrees_east"; - :history = "2024-09-24T16:12:38Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) -2024-10-01T14:03:11Z (local files) -2024-10-01T14:03:11Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?bbp700,bbp700_adjusted,bbp700_adjusted_error,bbp700_adjusted_qc,bbp700_qc,cdom,cdom_adjusted,cdom_adjusted_error,cdom_adjusted_qc,cdom_qc,chla,chla_adjusted,chla_adjusted_error,chla_adjusted_qc,chla_qc,config_mission_number,cp660,cp660_adjusted,cp660_adjusted_error,cp660_adjusted_qc,cp660_qc,cycle_number,direction,down_irradiance380,down_irradiance380_adjusted,down_irradiance380_adjusted_error,down_irradiance380_adjusted_qc,down_irradiance380_qc,down_irradiance412,down_irradiance412_adjusted,down_irradiance412_adjusted_error,down_irradiance412_adjusted_qc,down_irradiance412_qc,down_irradiance490,down_irradiance490_adjusted,down_irradiance490_adjusted_error,down_irradiance490_adjusted_qc,down_irradiance490_qc,downwelling_par,downwelling_par_adjusted,downwelling_par_adjusted_error,downwelling_par_adjusted_qc,downwelling_par_qc,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,nitrate,nitrate_adjusted,nitrate_adjusted_error,nitrate_adjusted_qc,nitrate_qc,ph_in_situ_total,ph_in_situ_total_adjusted,ph_in_situ_total_adjusted_error,ph_in_situ_total_adjusted_qc,ph_in_situ_total_qc,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&longitude%3E=-55&longitude%3C=-47&latitude%3E=55&latitude%3C=57&pres%3E=0&pres%3C=10&time%3E=1651363200.0&time%3C=1688169600.0&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; + :history = "2024-10-15T19:15:14Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) +2024-10-16T08:54:07Z (local files) +2024-10-16T08:54:07Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?bbp700,bbp700_adjusted,bbp700_adjusted_error,bbp700_adjusted_qc,bbp700_qc,cdom,cdom_adjusted,cdom_adjusted_error,cdom_adjusted_qc,cdom_qc,chla,chla_adjusted,chla_adjusted_error,chla_adjusted_qc,chla_qc,config_mission_number,cp660,cp660_adjusted,cp660_adjusted_error,cp660_adjusted_qc,cp660_qc,cycle_number,direction,down_irradiance380,down_irradiance380_adjusted,down_irradiance380_adjusted_error,down_irradiance380_adjusted_qc,down_irradiance380_qc,down_irradiance412,down_irradiance412_adjusted,down_irradiance412_adjusted_error,down_irradiance412_adjusted_qc,down_irradiance412_qc,down_irradiance490,down_irradiance490_adjusted,down_irradiance490_adjusted_error,down_irradiance490_adjusted_qc,down_irradiance490_qc,downwelling_par,downwelling_par_adjusted,downwelling_par_adjusted_error,downwelling_par_adjusted_qc,downwelling_par_qc,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,nitrate,nitrate_adjusted,nitrate_adjusted_error,nitrate_adjusted_qc,nitrate_qc,ph_in_situ_total,ph_in_situ_total_adjusted,ph_in_situ_total_adjusted_error,ph_in_situ_total_adjusted_qc,ph_in_situ_total_qc,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&longitude%3E=-55&longitude%3C=-47&latitude%3E=55&latitude%3C=57&pres%3E=0&pres%3C=10&time%3E=1651363200.0&time%3C=1688169600.0&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; :id = "https://doi.org/10.17882/42182"; :infoUrl = "http://www.argodatamgt.org/Documentation"; :institution = "Argo"; diff --git a/argopy/tests/test_data/b387b63261a185e98eca228dcd8019b15ada0a5524f6cc160c7a158c98641ac6.ncHeader b/argopy/tests/test_data/b387b63261a185e98eca228dcd8019b15ada0a5524f6cc160c7a158c98641ac6.ncHeader index d585201b..17c8d2b1 100644 --- a/argopy/tests/test_data/b387b63261a185e98eca228dcd8019b15ada0a5524f6cc160c7a158c98641ac6.ncHeader +++ b/argopy/tests/test_data/b387b63261a185e98eca228dcd8019b15ada0a5524f6cc160c7a158c98641ac6.ncHeader @@ -1,6 +1,6 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { dimensions: - row = 126044; + row = 128928; direction_strlen = 1; doxy_adjusted_qc_strlen = 1; doxy_qc_strlen = 1; @@ -12,8 +12,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { temp_adjusted_qc_strlen = 1; temp_qc_strlen = 1; variables: - int config_mission_number(row=126044); - :_ChunkSizes = 106; // int + int config_mission_number(row=128928); + :_ChunkSizes = 223; // int :_FillValue = 99999; // int :actual_range = 1, 16; // int :colorBarMaximum = 100.0; // double @@ -22,17 +22,17 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :ioos_category = "Statistics"; :long_name = "Unique number denoting the missions performed by the float"; - int cycle_number(row=126044); + int cycle_number(row=128928); :_FillValue = 99999; // int - :actual_range = 1, 88; // int + :actual_range = 1, 90; // int :cf_role = "profile_id"; :colorBarMaximum = 100.0; // double :colorBarMinimum = 0.0; // double :conventions = "0...N, 0 : launch cycle (if exists), 1 : first complete cycle"; :long_name = "Float cycle number"; - char direction(row=126044, direction_strlen=1); - :_ChunkSizes = 106; // int + char direction(row=128928, direction_strlen=1); + :_ChunkSizes = 223; // int :_Encoding = "ISO-8859-1"; :colorBarMaximum = 360.0; // double :colorBarMinimum = 0.0; // double @@ -40,32 +40,60 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :ioos_category = "Currents"; :long_name = "Direction of the station profiles"; - float doxy(row=126044); + float doxy(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 217.6861f, 341.608f; // float + :C_format = "%.3f"; :cf_standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :FORTRAN_format = "F.3"; :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float :sdn_parameter_urn = "SDN:P01::DOXMZZXX"; + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; :units = "micromole/kg"; :valid_max = 600.0f; // float :valid_min = -5.0f; // float - float doxy_adjusted(row=126044); - :actual_range = 231.0956f, 99999.0f; // float + float doxy_adjusted(row=128928); + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = 231.0956f, 362.6511f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Dissolved oxygen"; + :resolution = 0.001f; // float + :standard_name = "moles_of_oxygen_per_unit_mass_in_sea_water"; + :units = "micromole/kg"; + :valid_max = 600.0f; // float + :valid_min = -5.0f; // float - float doxy_adjusted_error(row=126044); - :actual_range = 12.56249f, 99999.0f; // float + float doxy_adjusted_error(row=128928); + :_ChunkSizes = 223, 166; // int + :_FillValue = 99999.0f; // float + :actual_range = 12.56249f, 17.39042f; // float + :C_format = "%.3f"; + :FORTRAN_format = "F.3"; + :long_name = "Contains the error on the adjusted values as determined by the delayed mode QC process"; + :resolution = 0.001f; // float + :units = "micromole/kg"; - char doxy_adjusted_qc(row=126044, doxy_adjusted_qc_strlen=1); + char doxy_adjusted_qc(row=128928, doxy_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; - char doxy_qc(row=126044, doxy_qc_strlen=1); + char doxy_qc(row=128928, doxy_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; + :conventions = "Argo reference table 2"; + :long_name = "quality flag"; - double latitude(row=126044); + double latitude(row=128928); :_CoordinateAxisType = "Lat"; :_FillValue = 99999.0; // double - :actual_range = 57.097543166666675, 63.18395183333334; // double + :actual_range = 57.097543166666675, 63.753354666666674; // double :axis = "Y"; :colorBarMaximum = 90.0; // double :colorBarMinimum = -90.0; // double @@ -76,7 +104,7 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 90.0; // double :valid_min = -90.0; // double - double longitude(row=126044); + double longitude(row=128928); :_CoordinateAxisType = "Lon"; :_FillValue = 99999.0; // double :actual_range = -51.75795016666666, -30.635311333333334; // double @@ -90,22 +118,22 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 180.0; // double :valid_min = -180.0; // double - char platform_number(row=126044, platform_number_strlen=7); + char platform_number(row=128928, platform_number_strlen=7); :_Encoding = "ISO-8859-1"; :cf_role = "trajectory_id"; :conventions = "WMO float identifier : A9IIIII"; :ioos_category = "Identifier"; :long_name = "Float unique identifier"; - char position_qc(row=126044); + char position_qc(row=128928); :actual_range = "11"; :colorBarMaximum = 150.0; // double :colorBarMinimum = 0.0; // double :conventions = "Argo reference table 2"; :long_name = "Quality on position (latitude and longitude)"; - float pres(row=126044); - :_ChunkSizes = 106, 787; // int + float pres(row=128928); + :_ChunkSizes = 223, 166; // int :_CoordinateAxisType = "Height"; :_FillValue = 99999.0f; // float :actual_range = -0.29f, 2011.203f; // float @@ -121,8 +149,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 12000.0f; // float :valid_min = 0.0f; // float - float pres_adjusted(row=126044); - :_ChunkSizes = 106, 787; // int + float pres_adjusted(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = -4.181f, 2006.433f; // float :axis = "Z"; @@ -135,8 +163,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 12000.0f; // float :valid_min = 0.0f; // float - float pres_adjusted_error(row=126044); - :_ChunkSizes = 106, 787; // int + float pres_adjusted_error(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :C_format = "%.3f"; :FORTRAN_format = "F.3"; @@ -144,20 +172,20 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :resolution = 0.001f; // float :units = "decibar"; - char pres_adjusted_qc(row=126044, pres_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char pres_adjusted_qc(row=128928, pres_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - char pres_qc(row=126044, pres_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char pres_qc(row=128928, pres_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - float psal(row=126044); - :_ChunkSizes = 106, 787; // int + float psal(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 0.488f, 35.137f; // float :C_format = "%.4f"; @@ -171,8 +199,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 41.0f; // float :valid_min = 2.0f; // float - float psal_adjusted(row=126044); - :_ChunkSizes = 106, 787; // int + float psal_adjusted(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 34.13953f, 35.1359f; // float :C_format = "%.4f"; @@ -184,8 +212,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 41.0f; // float :valid_min = 2.0f; // float - float psal_adjusted_error(row=126044); - :_ChunkSizes = 106, 787; // int + float psal_adjusted_error(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :C_format = "%.4f"; :FORTRAN_format = "F.4"; @@ -193,20 +221,20 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :resolution = 1.0E-4f; // float :units = "psu"; - char psal_adjusted_qc(row=126044, psal_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char psal_adjusted_qc(row=128928, psal_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - char psal_qc(row=126044, psal_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char psal_qc(row=128928, psal_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - float temp(row=126044); - :_ChunkSizes = 106, 787; // int + float temp(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 3.124f, 11.983f; // float :C_format = "%.3f"; @@ -220,8 +248,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 40.0f; // float :valid_min = -2.5f; // float - float temp_adjusted(row=126044); - :_ChunkSizes = 106, 787; // int + float temp_adjusted(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :actual_range = 3.12f, 11.983f; // float :C_format = "%.3f"; @@ -233,8 +261,8 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :valid_max = 40.0f; // float :valid_min = -2.5f; // float - float temp_adjusted_error(row=126044); - :_ChunkSizes = 106, 787; // int + float temp_adjusted_error(row=128928); + :_ChunkSizes = 223, 166; // int :_FillValue = 99999.0f; // float :C_format = "%.3f"; :FORTRAN_format = "F.3"; @@ -242,21 +270,21 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :resolution = 0.001f; // float :units = "degree_Celsius"; - char temp_adjusted_qc(row=126044, temp_adjusted_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char temp_adjusted_qc(row=128928, temp_adjusted_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - char temp_qc(row=126044, temp_qc_strlen=1); - :_ChunkSizes = 106, 787; // int + char temp_qc(row=128928, temp_qc_strlen=1); + :_ChunkSizes = 223, 166; // int :_Encoding = "ISO-8859-1"; :conventions = "Argo reference table 2"; :long_name = "quality flag"; - double time(row=126044); + double time(row=128928); :_CoordinateAxisType = "Time"; - :actual_range = 1.653144082985E9, 1.726927792036E9; // double + :actual_range = 1.653144082985E9, 1.728655550038E9; // double :axis = "T"; :conventions = "Relative julian days with decimal part (as parts of day)"; :ioos_category = "Time"; @@ -266,7 +294,7 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :time_origin = "01-JAN-1970 00:00:00"; :units = "seconds since 1970-01-01T00:00:00Z"; - char time_qc(row=126044); + char time_qc(row=128928); :actual_range = "11"; :colorBarMaximum = 150.0; // double :colorBarMinimum = 0.0; // double @@ -285,15 +313,15 @@ netcdf ArgoFloats-synthetic-BGC_98bd_b5bd_c9cd.nc { :defaultGraphQuery = "longitude%2Clatitude%2Cph_in_situ_total&time>=now-2days&time<=now&pres<=10&.draw=markers&.marker=5|5&.color=0x000000&.colorBar=|||||&.bgColor=0xffccccff"; :Easternmost_Easting = -30.635311333333334; // double :featureType = "TrajectoryProfile"; - :geospatial_lat_max = 63.18395183333334; // double + :geospatial_lat_max = 63.753354666666674; // double :geospatial_lat_min = 57.097543166666675; // double :geospatial_lat_units = "degrees_north"; :geospatial_lon_max = -30.635311333333334; // double :geospatial_lon_min = -51.75795016666666; // double :geospatial_lon_units = "degrees_east"; - :history = "2024-09-24T16:12:38Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) -2024-10-01T14:03:25Z (local files) -2024-10-01T14:03:25Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?config_mission_number,cycle_number,direction,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&platform_number=~%226904240%22&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; + :history = "2024-10-15T19:15:14Z creation (software version 1.18 (version 11.01.2024 for ARGO_simplified_profile)) +2024-10-16T08:54:28Z (local files) +2024-10-16T08:54:28Z https://erddap.ifremer.fr/erddap/tabledap/ArgoFloats-synthetic-BGC.nc?config_mission_number,cycle_number,direction,doxy,doxy_adjusted,doxy_adjusted_error,doxy_adjusted_qc,doxy_qc,latitude,longitude,platform_number,position_qc,pres,pres_adjusted,pres_adjusted_error,pres_adjusted_qc,pres_qc,psal,psal_adjusted,psal_adjusted_error,psal_adjusted_qc,psal_qc,temp,temp_adjusted,temp_adjusted_error,temp_adjusted_qc,temp_qc,time,time_qc&platform_number=~%226904240%22&latitude!=NaN&longitude!=NaN&distinct()&orderBy(%22time,pres%22)"; :id = "https://doi.org/10.17882/42182"; :infoUrl = "http://www.argodatamgt.org/Documentation"; :institution = "Argo"; @@ -306,7 +334,7 @@ of their employees or contractors, makes any warranty, express or implied, including warranties of merchantability and fitness for a particular purpose, or assumes any legal liability for the accuracy, completeness, or usefulness, of this information."; - :Northernmost_Northing = 63.18395183333334; // double + :Northernmost_Northing = 63.753354666666674; // double :references = "http://www.argodatamgt.org/Documentation"; :software_version = "1.18 (version 11.01.2024 for ARGO_simplified_profile)"; :source = "Argo float"; @@ -316,7 +344,7 @@ completeness, or usefulness, of this information."; :subsetVariables = "data_type, data_centre, platform_type, wmo_inst_type, time_qc, position_qc, pres_qc"; :summary = "Argo float synthetic vertical profiles : BGC data"; :testOutOfDate = "now-5days"; - :time_coverage_end = "2024-09-21T14:09:52Z"; + :time_coverage_end = "2024-10-11T14:05:50Z"; :time_coverage_start = "2022-05-21T14:41:22Z"; :title = "Argo float synthetic vertical profiles : BGC data"; :user_manual_version = "1.0"; diff --git a/argopy/utils/monitors.py b/argopy/utils/monitors.py index a78228ed..c6625435 100644 --- a/argopy/utils/monitors.py +++ b/argopy/utils/monitors.py @@ -1,5 +1,4 @@ import urllib -import warnings import importlib import time import threading @@ -51,11 +50,6 @@ def badge(label="label", message="message", color="green", insert=False): class fetch_status: """Fetch and report web API status""" - # def __init__(self, **kwargs): - # if "stdout" in kwargs or "insert" in kwargs: - # warnings.warn("'fetch_status' signature has changed") - # pass - def fetch(self): results = {} list_src = list_available_data_src() diff --git a/argopy/utils/transform.py b/argopy/utils/transform.py index e752532a..1224f523 100644 --- a/argopy/utils/transform.py +++ b/argopy/utils/transform.py @@ -1,6 +1,7 @@ """ Manipulate/transform xarray objects or list of objects """ + import numpy as np import xarray as xr import logging @@ -13,7 +14,9 @@ log = logging.getLogger("argopy.utils.manip") -def drop_variables_not_in_all_datasets(ds_collection: List[xr.Dataset]) -> List[xr.Dataset]: +def drop_variables_not_in_all_datasets( + ds_collection: List[xr.Dataset], +) -> List[xr.Dataset]: """Drop variables that are not in all datasets (the lowest common denominator) Parameters @@ -149,7 +152,9 @@ def fillvalue(da): return results -def merge_param_with_param_adjusted(ds: xr.Dataset, param: str, errors: str = 'raise') -> xr.Dataset: +def merge_param_with_param_adjusted( + ds: xr.Dataset, param: str, errors: str = "raise" +) -> xr.Dataset: """Copy _ADJUSTED values onto for points where param data mode is 'A' or 'D' After values have been copied, all _ADJUSTED* variables are dropped to avoid confusion. @@ -177,21 +182,23 @@ def merge_param_with_param_adjusted(ds: xr.Dataset, param: str, errors: str = 'r """ if "%s_ADJUSTED" % param not in ds: - if errors == 'raise': - raise InvalidDatasetStructure("Parameter '%s_ADJUSTED' adjusted values not found in this dataset" % param) + if errors == "raise": + raise InvalidDatasetStructure( + "Parameter '%s_ADJUSTED' adjusted values not found in this dataset" + % param + ) else: return ds if ds.argo._type != "point": - raise InvalidDatasetStructure( - "Method only available to a collection of points" - ) + raise InvalidDatasetStructure("Method only available to a collection of points") core_ds = False if "%s_DATA_MODE" % param not in ds and param in list_core_parameters(): if "DATA_MODE" not in ds: - if errors == 'raise': - raise InvalidDatasetStructure( - "Parameter '%s' data mode not found in this dataset (no 'DATA_MODE')" % param + if errors == "raise": + raise InvalidDatasetStructure( + "Parameter '%s' data mode not found in this dataset (no 'DATA_MODE')" + % param ) else: return ds @@ -208,32 +215,49 @@ def merge_param_with_param_adjusted(ds: xr.Dataset, param: str, errors: str = 'r if "%s_ERROR" % param not in ds and "%s_ADJUSTED_ERROR" % param in ds: ds["%s_ERROR" % param] = ds["%s_ADJUSTED_ERROR" % param].copy() - ii_measured = np.logical_or.reduce((ds["%s_DATA_MODE" % param] == 'R', - ds["%s_DATA_MODE" % param] == 'A', - ds["%s_DATA_MODE" % param] == 'D')) - ii_missing = np.logical_and.reduce((ds["%s_DATA_MODE" % param] != 'R', - ds["%s_DATA_MODE" % param] != 'A', - ds["%s_DATA_MODE" % param] != 'D')) - assert ii_measured.sum() + ii_missing.sum() == len(ds['N_POINTS']), "Unexpected data mode values !" - - ii_measured_adj = np.logical_and.reduce((ii_measured, - np.logical_or.reduce((ds["%s_DATA_MODE" % param] == 'A', - ds["%s_DATA_MODE" % param] == 'D')) - )) + ii_measured = np.logical_or.reduce( + ( + ds["%s_DATA_MODE" % param] == "R", + ds["%s_DATA_MODE" % param] == "A", + ds["%s_DATA_MODE" % param] == "D", + ) + ) + ii_missing = np.logical_and.reduce( + ( + ds["%s_DATA_MODE" % param] != "R", + ds["%s_DATA_MODE" % param] != "A", + ds["%s_DATA_MODE" % param] != "D", + ) + ) + assert ii_measured.sum() + ii_missing.sum() == len( + ds["N_POINTS"] + ), "Unexpected data mode values !" + + ii_measured_adj = np.logical_and.reduce( + ( + ii_measured, + np.logical_or.reduce( + (ds["%s_DATA_MODE" % param] == "A", ds["%s_DATA_MODE" % param] == "D") + ), + ) + ) # Copy param_adjusted values onto param indexes where data_mode is in 'a' or 'd': - ds["%s" % param].loc[dict(N_POINTS=ii_measured_adj)] = ds["%s_ADJUSTED" % param].loc[ - dict(N_POINTS=ii_measured_adj)] + ds["%s" % param].loc[dict(N_POINTS=ii_measured_adj)] = ds[ + "%s_ADJUSTED" % param + ].loc[dict(N_POINTS=ii_measured_adj)] ds = ds.drop_vars(["%s_ADJUSTED" % param]) if "%s_ADJUSTED_QC" % param in ds and "%s_ADJUSTED_QC" % param in ds: - ds["%s_QC" % param].loc[dict(N_POINTS=ii_measured_adj)] = ds["%s_ADJUSTED_QC" % param].loc[ - dict(N_POINTS=ii_measured_adj)] + ds["%s_QC" % param].loc[dict(N_POINTS=ii_measured_adj)] = ds[ + "%s_ADJUSTED_QC" % param + ].loc[dict(N_POINTS=ii_measured_adj)] ds = ds.drop_vars(["%s_ADJUSTED_QC" % param]) if "%s_ERROR" % param in ds and "%s_ADJUSTED_ERROR" % param in ds: - ds["%s_ERROR" % param].loc[dict(N_POINTS=ii_measured_adj)] = ds["%s_ADJUSTED_ERROR" % param].loc[ - dict(N_POINTS=ii_measured_adj)] + ds["%s_ERROR" % param].loc[dict(N_POINTS=ii_measured_adj)] = ds[ + "%s_ADJUSTED_ERROR" % param + ].loc[dict(N_POINTS=ii_measured_adj)] ds = ds.drop_vars(["%s_ADJUSTED_ERROR" % param]) if core_ds: @@ -242,11 +266,13 @@ def merge_param_with_param_adjusted(ds: xr.Dataset, param: str, errors: str = 'r return ds -def filter_param_by_data_mode(ds: xr.Dataset, - param: str, - dm: Union[str, List[str]] = ['R', 'A', 'D'], - mask: bool = False, - errors: str = 'raise') -> xr.Dataset: +def filter_param_by_data_mode( + ds: xr.Dataset, + param: str, + dm: Union[str, List[str]] = ["R", "A", "D"], + mask: bool = False, + errors: str = "raise", +) -> xr.Dataset: """Filter measurements according to a parameter data mode Filter the dataset to keep points where a parameter is in any of the data mode specified. @@ -281,9 +307,10 @@ def filter_param_by_data_mode(ds: xr.Dataset, core_ds = False if "%s_DATA_MODE" % param not in ds and param in list_core_parameters(): if "DATA_MODE" not in ds: - if errors == 'raise': + if errors == "raise": raise InvalidDatasetStructure( - "Parameter '%s' data mode not found in this dataset (no 'DATA_MODE')" % param + "Parameter '%s' data mode not found in this dataset (no 'DATA_MODE')" + % param ) else: return ds @@ -327,19 +354,24 @@ def split_data_mode(ds: xr.Dataset) -> xr.Dataset: """ if "STATION_PARAMETERS" in ds and "PARAMETER_DATA_MODE" in ds: - u64 = lambda s: "%s%s" % (s, " " * (64 - len(s))) - params = [p.strip() for p in np.unique(ds['STATION_PARAMETERS'])] + u64 = lambda s: "%s%s" % (s, " " * (64 - len(s))) # noqa: E731 + params = [p.strip() for p in np.unique(ds["STATION_PARAMETERS"])] for param in params: - name = "%s_DATA_MODE" % param.replace("_PARAMETER", "").replace("PARAMETER_", "") - mask = ds['STATION_PARAMETERS'] == xr.full_like(ds['STATION_PARAMETERS'], u64(param), - dtype=ds['STATION_PARAMETERS'].dtype) - da = ds['PARAMETER_DATA_MODE'].where(mask, drop=True).isel(N_PARAM=0) + name = "%s_DATA_MODE" % param.replace("_PARAMETER", "").replace( + "PARAMETER_", "" + ) + mask = ds["STATION_PARAMETERS"] == xr.full_like( + ds["STATION_PARAMETERS"], + u64(param), + dtype=ds["STATION_PARAMETERS"].dtype, + ) + da = ds["PARAMETER_DATA_MODE"].where(mask, drop=True).isel(N_PARAM=0) da = da.rename(name) - da = da.astype(ds['PARAMETER_DATA_MODE'].dtype) + da = da.astype(ds["PARAMETER_DATA_MODE"].dtype) ds[name] = da - ds = ds.drop_vars('PARAMETER_DATA_MODE') + ds = ds.drop_vars("PARAMETER_DATA_MODE") ds.argo.add_history("Transformed with 'split_data_mode'") return ds diff --git a/argopy/xarray.py b/argopy/xarray.py index 2474198d..a64f0b7c 100644 --- a/argopy/xarray.py +++ b/argopy/xarray.py @@ -5,7 +5,6 @@ import pandas as pd import xarray as xr import logging -from typing import Union, List from xarray.backends import BackendEntrypoint # For xarray > 0.18 try: @@ -27,13 +26,6 @@ ) from .utils import list_core_parameters from .utils import toYearFraction -from .utils import ( - merge_param_with_param_adjusted, - filter_param_by_data_mode, - split_data_mode, -) -from .utils import deprecated - from .errors import InvalidDatasetStructure, DataNotFound, OptionValueError log = logging.getLogger("argopy.xarray") diff --git a/docs/user-guide/working-with-argo-data/owc_workflow_eg.py b/docs/user-guide/working-with-argo-data/owc_workflow_eg.py index e2f05065..806cd59e 100644 --- a/docs/user-guide/working-with-argo-data/owc_workflow_eg.py +++ b/docs/user-guide/working-with-argo-data/owc_workflow_eg.py @@ -9,13 +9,21 @@ FLOAT_NAME = "6903010" # Set-up where to save OWC analysis results: -results_folder = './analysis/%s' % FLOAT_NAME +results_folder = "./analysis/%s" % FLOAT_NAME Path(results_folder).mkdir(parents=True, exist_ok=True) shutil.rmtree(results_folder) # Clean up folder content -Path(os.path.sep.join([results_folder, 'float_source'])).mkdir(parents=True, exist_ok=True) -Path(os.path.sep.join([results_folder, 'float_calib'])).mkdir(parents=True, exist_ok=True) -Path(os.path.sep.join([results_folder, 'float_mapped'])).mkdir(parents=True, exist_ok=True) -Path(os.path.sep.join([results_folder, 'float_plots'])).mkdir(parents=True, exist_ok=True) +Path(os.path.sep.join([results_folder, "float_source"])).mkdir( + parents=True, exist_ok=True +) +Path(os.path.sep.join([results_folder, "float_calib"])).mkdir( + parents=True, exist_ok=True +) +Path(os.path.sep.join([results_folder, "float_mapped"])).mkdir( + parents=True, exist_ok=True +) +Path(os.path.sep.join([results_folder, "float_plots"])).mkdir( + parents=True, exist_ok=True +) # fetch the default configuration and parameters USER_CONFIG = owc.configuration.load() @@ -24,19 +32,22 @@ for k in USER_CONFIG: if "FLOAT" in k and "data/" in USER_CONFIG[k][0:5]: USER_CONFIG[k] = os.path.abspath(USER_CONFIG[k].replace("data", results_folder)) -USER_CONFIG['CONFIG_DIRECTORY'] = os.path.abspath('../data/constants') -USER_CONFIG['HISTORICAL_DIRECTORY'] = os.path.abspath( - '/Volumes/OWC/CLIMATOLOGY/') # where to find ARGO_for_DMQC_2020V03 and CTD_for_DMQC_2021V01 folders -USER_CONFIG['HISTORICAL_ARGO_PREFIX'] = 'ARGO_for_DMQC_2020V03/argo_' -USER_CONFIG['HISTORICAL_CTD_PREFIX'] = 'CTD_for_DMQC_2021V01/ctd_' + +USER_CONFIG["CONFIG_DIRECTORY"] = os.path.abspath("../data/constants") +USER_CONFIG["HISTORICAL_DIRECTORY"] = os.path.abspath( + "/Volumes/OWC/CLIMATOLOGY/" +) # where to find ARGO_for_DMQC_2020V03 and CTD_for_DMQC_2021V01 folders +USER_CONFIG["HISTORICAL_ARGO_PREFIX"] = "ARGO_for_DMQC_2020V03/argo_" +USER_CONFIG["HISTORICAL_CTD_PREFIX"] = "CTD_for_DMQC_2021V01/ctd_" print(owc.configuration.print_cfg(USER_CONFIG)) # Create float source data with argopy: -fetcher_for_real = DataFetcher(src='gdac', cache=True, mode='expert').float(FLOAT_NAME) -fetcher_sample = DataFetcher(src='gdac', cache=True, mode='expert').profile(FLOAT_NAME, [1, - 2]) # To reduce execution time for demo +fetcher_for_real = DataFetcher(src="gdac", cache=True, mode="expert").float(FLOAT_NAME) +fetcher_sample = DataFetcher(src="gdac", cache=True, mode="expert").profile( + FLOAT_NAME, [1, 2] +) # To reduce execution time for demo ds = fetcher_sample.load().data -ds.argo.create_float_source(path=USER_CONFIG['FLOAT_SOURCE_DIRECTORY'], force='default') +ds.argo.create_float_source(path=USER_CONFIG["FLOAT_SOURCE_DIRECTORY"], force="default") # Prepare data for calibration: map salinity on theta levels owc.calibration.update_salinity_mapping("", USER_CONFIG, FLOAT_NAME)