oceanarray 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oceanarray/__init__.py +20 -0
- oceanarray/_version.py +1 -0
- oceanarray/cli.py +1343 -0
- oceanarray/clock_offset.py +675 -0
- oceanarray/config/OS1_sensor_attrs.yaml +49 -0
- oceanarray/config/OS1_var_names.yaml +5 -0
- oceanarray/config/OS1_vocab_attrs.yaml +84 -0
- oceanarray/config/legacy/project_RAPID.yaml +69 -0
- oceanarray/config/legacy/rodb_keys.txt +206 -0
- oceanarray/config/legacy/rodb_keys.yaml +1012 -0
- oceanarray/config/logging.yaml +28 -0
- oceanarray/legacy/__init__.py +47 -0
- oceanarray/legacy/caldip.py +753 -0
- oceanarray/legacy/convertOS.py +527 -0
- oceanarray/legacy/find_deployment.py +489 -0
- oceanarray/legacy/mooring_rodb.py +429 -0
- oceanarray/legacy/process_rodb.py +369 -0
- oceanarray/legacy/rodb.py +330 -0
- oceanarray/logger.py +192 -0
- oceanarray/logsheet/__init__.py +60 -0
- oceanarray/logsheet/_columns.py +97 -0
- oceanarray/logsheet/_config.py +245 -0
- oceanarray/logsheet/_firmware.py +43 -0
- oceanarray/logsheet/_latex.py +128 -0
- oceanarray/logsheet/_render.py +126 -0
- oceanarray/logsheet/builders/__init__.py +13 -0
- oceanarray/logsheet/builders/caldip_download.py +195 -0
- oceanarray/logsheet/builders/caldip_setup.py +188 -0
- oceanarray/logsheet/builders/deployment_setup.py +218 -0
- oceanarray/logsheet/builders/mooring_download.py +243 -0
- oceanarray/logsheet/builders/recovery.py +157 -0
- oceanarray/logsheet/data/column_defs.yaml +686 -0
- oceanarray/logsheet/data/latex_templates/_base_instrument.tex.j2 +42 -0
- oceanarray/logsheet/data/latex_templates/caldip_download.tex.j2 +47 -0
- oceanarray/logsheet/data/latex_templates/caldip_setup.tex.j2 +70 -0
- oceanarray/logsheet/data/latex_templates/deployment_setup.tex.j2 +97 -0
- oceanarray/logsheet/data/latex_templates/mooring_download.tex.j2 +54 -0
- oceanarray/logsheet/data/latex_templates/recovery.tex.j2 +103 -0
- oceanarray/mooring_level.py +1368 -0
- oceanarray/oceanarray.mplstyle +18 -0
- oceanarray/parameters.py +270 -0
- oceanarray/plotter.py +942 -0
- oceanarray/plotters/__init__.py +97 -0
- oceanarray/plotters/_animation.py +261 -0
- oceanarray/plotters/_current.py +705 -0
- oceanarray/plotters/_diagnostic.py +667 -0
- oceanarray/plotters/_helpers.py +57 -0
- oceanarray/plotters/_primitives.py +101 -0
- oceanarray/plotters/_section.py +16 -0
- oceanarray/plotters/_timeseries.py +11 -0
- oceanarray/rapid_interp.py +739 -0
- oceanarray/read_rbr_hex.py +541 -0
- oceanarray/readers.py +303 -0
- oceanarray/report/__init__.py +5 -0
- oceanarray/report/_array.py +386 -0
- oceanarray/report/_grid.py +539 -0
- oceanarray/report/_html_helpers.py +1004 -0
- oceanarray/report/_instrument.py +853 -0
- oceanarray/report/_mooring.py +1385 -0
- oceanarray/report/_plots.py +4284 -0
- oceanarray/report/_stack.py +941 -0
- oceanarray/stage1.py +1959 -0
- oceanarray/stage2.py +1160 -0
- oceanarray/stage3.py +2494 -0
- oceanarray/time_gridding.py +958 -0
- oceanarray/tools.py +400 -0
- oceanarray/transports.py +1 -0
- oceanarray/utilities.py +538 -0
- oceanarray/validation.py +389 -0
- oceanarray/writers.py +99 -0
- oceanarray-0.1.0.dist-info/METADATA +503 -0
- oceanarray-0.1.0.dist-info/RECORD +76 -0
- oceanarray-0.1.0.dist-info/WHEEL +5 -0
- oceanarray-0.1.0.dist-info/entry_points.txt +2 -0
- oceanarray-0.1.0.dist-info/licenses/LICENSE +21 -0
- oceanarray-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Global logging configuration for oceanarray processing stages
|
|
2
|
+
#
|
|
3
|
+
# This configuration file controls where and how log files are created
|
|
4
|
+
# for all processing stages (stage1, stage2, time_gridding, etc.)
|
|
5
|
+
|
|
6
|
+
logging:
|
|
7
|
+
# Directory for log files
|
|
8
|
+
# - Can be relative path (created within each mooring's proc directory)
|
|
9
|
+
# - Can be absolute path for centralized logging
|
|
10
|
+
# - Default: "processing_logs" creates ~/moor/proc/<mooring_name>/processing_logs/
|
|
11
|
+
directory: "processing_logs"
|
|
12
|
+
|
|
13
|
+
# Log filename pattern
|
|
14
|
+
# Available variables:
|
|
15
|
+
# {mooring_name} - Name of the mooring (e.g., dsE_1_2018)
|
|
16
|
+
# {timestamp} - Formatted timestamp
|
|
17
|
+
# {stage} - Processing stage name (stage1, stage2, time_gridding)
|
|
18
|
+
filename_pattern: "{mooring_name}_{timestamp}_{stage}.log"
|
|
19
|
+
|
|
20
|
+
# Timestamp format for log filenames
|
|
21
|
+
# Uses Python strftime format codes:
|
|
22
|
+
# %Y = 4-digit year %m = month %d = day
|
|
23
|
+
# %H = hour (24hr) %M = minute %S = second
|
|
24
|
+
# Default: "%Y%m%dT%H" produces YYYYMMDTHH (e.g., 20180827T14)
|
|
25
|
+
timestamp_format: "%Y%m%dT%H"
|
|
26
|
+
|
|
27
|
+
# Whether to create the log directory if it doesn't exist
|
|
28
|
+
create_directory: true
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Legacy RODB/RAPID format processing functions.
|
|
2
|
+
|
|
3
|
+
This module contains legacy code for processing RAPID/RODB format data.
|
|
4
|
+
For new projects, use the modern CF-compliant workflow:
|
|
5
|
+
Stage1 (stage1.py) -> Stage2 (stage2.py) -> Time Gridding (time_gridding.py)
|
|
6
|
+
|
|
7
|
+
Legacy modules:
|
|
8
|
+
- process_rodb: Individual instrument processing functions
|
|
9
|
+
- mooring_rodb: Mooring-level stacking and filtering functions
|
|
10
|
+
- rodb: RODB format data reader
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from .convertOS import *
|
|
14
|
+
from .mooring_rodb import *
|
|
15
|
+
|
|
16
|
+
# Import all legacy functionality for backward compatibility
|
|
17
|
+
from .process_rodb import *
|
|
18
|
+
from .rodb import *
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
# From process_rodb
|
|
22
|
+
"process_instrument",
|
|
23
|
+
"process_microcat",
|
|
24
|
+
"normalize_dataset_by_middle_percent",
|
|
25
|
+
"normalize_by_middle_percent",
|
|
26
|
+
"middle_percent",
|
|
27
|
+
"mean_of_middle_percent",
|
|
28
|
+
"std_of_middle_percent",
|
|
29
|
+
# From mooring_rodb
|
|
30
|
+
"combine_mooring_OS",
|
|
31
|
+
"find_time_vars",
|
|
32
|
+
"find_common_attributes",
|
|
33
|
+
"stack_instruments",
|
|
34
|
+
"interp_to_12hour_grid",
|
|
35
|
+
"get_12hourly_time_grid",
|
|
36
|
+
"filter_all_time_vars",
|
|
37
|
+
"auto_filt",
|
|
38
|
+
# From rodb
|
|
39
|
+
"is_rodb_file",
|
|
40
|
+
"rodbload",
|
|
41
|
+
"rodbsave",
|
|
42
|
+
"format_latlon",
|
|
43
|
+
"parse_rodb_keys_file",
|
|
44
|
+
# From convertOS
|
|
45
|
+
"convert_to_oceansites",
|
|
46
|
+
"load_os_config",
|
|
47
|
+
]
|