Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2024
1 parent 425e26a commit b251a7b
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions glamod_marine_processing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""GLAMOD marine processing package."""

from __future__ import annotations

from . import obs_suite, qc_suite # noqa
1 change: 1 addition & 0 deletions glamod_marine_processing/cli_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Observational Command Line Interface module
===========================================
"""

from __future__ import annotations

import datetime
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/obs_suite/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""GLAMOD marine processing observation suite package."""

from __future__ import annotations
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This is a temporary script file.
"""

from __future__ import annotations

import glob
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/obs_suite/scripts/level1a.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
@author: iregon
"""

from __future__ import annotations

import datetime
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/obs_suite/scripts/level1b.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
@author: iregon
"""

from __future__ import annotations

import datetime
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/obs_suite/scripts/level1c.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
@author: iregon
"""

from __future__ import annotations

import datetime
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/obs_suite/scripts/level1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
@author: iregon
"""

from __future__ import annotations

import datetime
Expand Down
6 changes: 3 additions & 3 deletions glamod_marine_processing/obs_suite/scripts/level1e.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ def add_report_quality(qc_df_full):
# Second: at least one observed param passed -> report_quality = '0'
qc_df_full.loc[qc_param_sum < qc_param_applied, "report_quality"] = pass_report
# Third: POS qc fails, no matter how good the observed params are -> report_quality '1'
qc_df_full.loc[
qc_df_full["POS"] == failed_location, "report_quality"
] = failed_report
qc_df_full.loc[qc_df_full["POS"] == failed_location, "report_quality"] = (
failed_report
)
return qc_df_full


Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/obs_suite/scripts/level2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
@author: iregon
"""

from __future__ import annotations

import glob
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/qc_suite/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""GLAMOD marine processing quality control suite package."""

from __future__ import annotations
1 change: 1 addition & 0 deletions glamod_marine_processing/qc_suite/modules/IMMA1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Python module for handling IMMA data."""

# IMMA documentation is at http://icoads.noaa.gov/e-doc/imma

# import re # Regular Expressions
Expand Down
1 change: 1 addition & 0 deletions glamod_marine_processing/qc_suite/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""GLAMOD marine processing quality control suite modules."""

from __future__ import annotations
1 change: 1 addition & 0 deletions glamod_marine_processing/qc_suite/scripts/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@author: sbiri
"""

from __future__ import annotations

import argparse
Expand Down

0 comments on commit b251a7b

Please sign in to comment.