From 0d730f4e064bb5e0812ca5798b81ec4aae683e85 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:21:12 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.15.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...v0.15.2) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...26.1.0) - [github.com/keewis/blackdoc: v0.3.9 → v0.4.6](https://github.com/keewis/blackdoc/compare/v0.3.9...v0.4.6) - [github.com/asottile/pyupgrade: v3.19.1 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.19.1...v3.21.2) - [github.com/executablebooks/mdformat: 0.7.22 → 1.0.0](https://github.com/executablebooks/mdformat/compare/0.7.22...1.0.0) - [github.com/kynan/nbstripout: 0.8.1 → 0.9.1](https://github.com/kynan/nbstripout/compare/0.8.1...0.9.1) --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d120ede..5a019fca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -12,17 +12,17 @@ repos: - id: check-ast - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.2 + rev: v0.15.2 hooks: - id: ruff args: [--fix] - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black language_version: python3 - repo: https://github.com/keewis/blackdoc - rev: v0.3.9 + rev: v0.4.6 hooks: - id: blackdoc additional_dependencies: ["black[jupyter]"] @@ -38,7 +38,7 @@ repos: types_or: [python, markdown, rst] additional_dependencies: [tomli] - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.21.2 hooks: - id: pyupgrade - repo: https://github.com/MarcoGorelli/madforhooks @@ -47,13 +47,13 @@ repos: # - id: conda-env-sorter # conflicts with prettier - id: check-execution-order - repo: https://github.com/executablebooks/mdformat - rev: 0.7.22 + rev: 1.0.0 hooks: - id: mdformat additional_dependencies: [mdformat-gfm, mdformat-black] exclude: ^.github/ # this avoid the hook to wrongly reformats md issue template files - repo: https://github.com/kynan/nbstripout - rev: 0.8.1 + rev: 0.9.1 hooks: - id: nbstripout args: [--keep-output] From c13b894dc54cefa112dc9a0e7637173cd64e0324 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:22:10 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- gpm/accessor/__init__.py | 1 + gpm/accessor/methods.py | 1 + gpm/bucket/__init__.py | 1 + gpm/bucket/analysis.py | 1 + gpm/bucket/dataframe.py | 1 + gpm/bucket/io.py | 1 + gpm/bucket/partitioning.py | 1 + gpm/bucket/readers.py | 1 + gpm/bucket/routines.py | 1 + gpm/bucket/writers.py | 1 + gpm/checks.py | 1 + gpm/configs.py | 1 + gpm/dataset/attrs.py | 1 + gpm/dataset/conventions.py | 1 + gpm/dataset/coords.py | 1 + gpm/dataset/crs.py | 1 + gpm/dataset/dataset.py | 1 + gpm/dataset/datatree.py | 1 + gpm/dataset/decoding/cf.py | 1 + gpm/dataset/decoding/coordinates.py | 1 + gpm/dataset/decoding/dataarray_attrs.py | 1 + gpm/dataset/decoding/decode_1b_radar.py | 1 + gpm/dataset/decoding/decode_1c_pmw.py | 1 + gpm/dataset/decoding/decode_2a_pmw.py | 1 + gpm/dataset/decoding/decode_2a_radar.py | 5 ++--- gpm/dataset/decoding/decode_2b_corra.py | 1 + gpm/dataset/decoding/decode_imerg.py | 1 + gpm/dataset/decoding/routines.py | 1 + gpm/dataset/decoding/utils.py | 1 + gpm/dataset/dimensions.py | 1 + gpm/dataset/granule.py | 1 + gpm/dataset/groups_variables.py | 1 + gpm/gv/__init__.py | 1 + gpm/gv/plots.py | 1 + gpm/gv/routines.py | 1 + gpm/gv/xradar/__init__.py | 1 + gpm/io/checks.py | 1 + gpm/io/data_integrity.py | 1 + gpm/io/download.py | 1 + gpm/io/filter.py | 1 + gpm/io/find.py | 1 + gpm/io/local.py | 1 + gpm/io/pps.py | 1 + gpm/io/products.py | 1 + gpm/retrievals/__init__.py | 1 + gpm/retrievals/retrieval_1b_c_pmw.py | 1 + gpm/retrievals/retrieval_1b_radar.py | 1 + gpm/retrievals/retrieval_2a_radar.py | 1 + gpm/retrievals/routines.py | 1 + gpm/scripts/download_gpm_daily_data.py | 1 + gpm/scripts/download_gpm_files.py | 1 + gpm/scripts/download_gpm_monthly_data.py | 1 + gpm/tests/conftest.py | 1 + gpm/tests/test_bucket/test_io.py | 1 + gpm/tests/test_bucket/test_partitioning.py | 1 + gpm/tests/test_bucket/test_routines.py | 1 + gpm/tests/test_bucket/test_writers.py | 1 + gpm/tests/test_config.py | 1 + gpm/tests/test_dataset/test_granule_files.py | 1 + gpm/tests/test_donfig_config.py | 1 + gpm/tests/test_io/test_data_integrity.py | 1 + gpm/tests/test_io/test_download.py | 1 + gpm/tests/test_io/test_find.py | 1 + gpm/tests/test_io/test_ges_disc.py | 1 + gpm/tests/test_io/test_pps.py | 1 + gpm/tests/test_io/test_products.py | 1 - gpm/tests/test_utils/test_area.py | 1 + gpm/tests/test_utils/test_dask.py | 1 + gpm/tests/test_utils/test_dataframe.py | 1 + gpm/tests/test_utils/test_directories.py | 1 + gpm/tests/test_utils/test_parallel.py | 1 + gpm/tests/test_utils/test_pmw.py | 1 + gpm/tests/test_utils/test_remapping.py | 1 + gpm/tests/test_utils/test_slices.py | 1 - gpm/tests/test_utils/test_utils_checks.py | 1 - gpm/tests/test_utils/test_utils_orbit.py | 1 + gpm/tests/test_utils/utils.py | 1 - gpm/utils/archive.py | 1 + gpm/utils/area.py | 1 + gpm/utils/checks.py | 1 + gpm/utils/collocation.py | 1 + gpm/utils/dask.py | 1 + gpm/utils/dataframe.py | 1 + gpm/utils/decorators.py | 1 + gpm/utils/directories.py | 1 + gpm/utils/geospatial.py | 1 + gpm/utils/parallel.py | 1 + gpm/utils/pmw.py | 1 + gpm/utils/remapping.py | 1 + gpm/utils/subsetting.py | 1 + gpm/utils/xarray.py | 1 + gpm/utils/yaml.py | 1 + gpm/utils/zonal_stats.py | 1 + gpm/visualization/__init__.py | 1 + gpm/visualization/animation.py | 1 + gpm/visualization/cross_section.py | 1 + gpm/visualization/eda.py | 1 + gpm/visualization/facetgrid.py | 1 + gpm/visualization/orbit.py | 1 + gpm/visualization/plot.py | 1 + gpm/visualization/plot_3d.py | 1 + gpm/visualization/quicklooks.py | 1 + gpm/visualization/title.py | 1 + 103 files changed, 100 insertions(+), 7 deletions(-) diff --git a/gpm/accessor/__init__.py b/gpm/accessor/__init__.py index 4a429dab..aac9dd60 100644 --- a/gpm/accessor/__init__.py +++ b/gpm/accessor/__init__.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This directory defines GPM-API xarray accessors.""" + from .methods import GPM_DataArray_Accessor, GPM_Dataset_Accessor __all__ = ["GPM_DataArray_Accessor", "GPM_Dataset_Accessor"] diff --git a/gpm/accessor/methods.py b/gpm/accessor/methods.py index be78bcfc..053e21e1 100644 --- a/gpm/accessor/methods.py +++ b/gpm/accessor/methods.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module defines GPM-API xarray accessors.""" + import functools import importlib import inspect diff --git a/gpm/bucket/__init__.py b/gpm/bucket/__init__.py index 2cc2f4d1..09eb39cd 100644 --- a/gpm/bucket/__init__.py +++ b/gpm/bucket/__init__.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This directory defines the GPM-API geographic binning toolbox.""" + import importlib if not importlib.util.find_spec("pyarrow"): diff --git a/gpm/bucket/analysis.py b/gpm/bucket/analysis.py index 56b7f062..92b21d72 100644 --- a/gpm/bucket/analysis.py +++ b/gpm/bucket/analysis.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to analysis bucket archives.""" + import datetime import numpy as np diff --git a/gpm/bucket/dataframe.py b/gpm/bucket/dataframe.py index ae1eb474..a697779e 100644 --- a/gpm/bucket/dataframe.py +++ b/gpm/bucket/dataframe.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module implements manipulation wrappers for multiple DataFrame classes.""" + import dask.dataframe as dd import numpy as np import pandas as pd diff --git a/gpm/bucket/io.py b/gpm/bucket/io.py index 81d66e03..2b4d26a7 100644 --- a/gpm/bucket/io.py +++ b/gpm/bucket/io.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module provide utilities to search GPM Geographic Buckets files.""" + import importlib import os diff --git a/gpm/bucket/partitioning.py b/gpm/bucket/partitioning.py index 3cfcf7e4..d6557178 100644 --- a/gpm/bucket/partitioning.py +++ b/gpm/bucket/partitioning.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module implements Spatial Partitioning classes.""" + import os from functools import reduce, wraps diff --git a/gpm/bucket/readers.py b/gpm/bucket/readers.py index b8f98ef3..f95a162d 100644 --- a/gpm/bucket/readers.py +++ b/gpm/bucket/readers.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module provide utilities to read GPM Geographic Buckets Apache Parquet files.""" + import inspect import os diff --git a/gpm/bucket/routines.py b/gpm/bucket/routines.py index 394f2bf4..3f6b1941 100644 --- a/gpm/bucket/routines.py +++ b/gpm/bucket/routines.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module provides the routines for the creation of GPM Geographic Buckets.""" + import os import dask diff --git a/gpm/bucket/writers.py b/gpm/bucket/writers.py index 9f1fb235..6829d6d0 100644 --- a/gpm/bucket/writers.py +++ b/gpm/bucket/writers.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module provide to write a GPM Geographic Bucket Apache Parquet Dataset.""" + import math import os diff --git a/gpm/checks.py b/gpm/checks.py index 045e146d..5dad499a 100644 --- a/gpm/checks.py +++ b/gpm/checks.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module defines functions providing GPM-API Dataset information.""" + from itertools import chain import numpy as np diff --git a/gpm/configs.py b/gpm/configs.py index 272ab038..8ab8b46b 100644 --- a/gpm/configs.py +++ b/gpm/configs.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """GPM-API configurations settings.""" + import os import platform from subprocess import Popen diff --git a/gpm/dataset/attrs.py b/gpm/dataset/attrs.py index d2488c0b..4da578b6 100644 --- a/gpm/dataset/attrs.py +++ b/gpm/dataset/attrs.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to parse GPM granule attributes.""" + import ast import numpy as np diff --git a/gpm/dataset/conventions.py b/gpm/dataset/conventions.py index caaac75f..b9418e30 100644 --- a/gpm/dataset/conventions.py +++ b/gpm/dataset/conventions.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to enforce CF-conventions into the GPM-API objects.""" + import datetime import warnings diff --git a/gpm/dataset/coords.py b/gpm/dataset/coords.py index e62cf562..0c872352 100644 --- a/gpm/dataset/coords.py +++ b/gpm/dataset/coords.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to extract the coordinates from GPM files.""" + import numpy as np import pandas as pd import xarray as xr diff --git a/gpm/dataset/crs.py b/gpm/dataset/crs.py index 5e7a65fc..f7be8a30 100644 --- a/gpm/dataset/crs.py +++ b/gpm/dataset/crs.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to define and create CF-compliant CRS.""" + import warnings import numpy as np diff --git a/gpm/dataset/dataset.py b/gpm/dataset/dataset.py index d8a04550..65f0b250 100644 --- a/gpm/dataset/dataset.py +++ b/gpm/dataset/dataset.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to read files into a GPM-API Dataset or DataTree.""" + import warnings from functools import partial diff --git a/gpm/dataset/datatree.py b/gpm/dataset/datatree.py index a35fc694..805945d1 100644 --- a/gpm/dataset/datatree.py +++ b/gpm/dataset/datatree.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to read a GPM granule into a DataTree object.""" + import os import xarray as xr diff --git a/gpm/dataset/decoding/cf.py b/gpm/dataset/decoding/cf.py index f02a7e00..7bac99de 100644 --- a/gpm/dataset/decoding/cf.py +++ b/gpm/dataset/decoding/cf.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to CF-decoding the GPM files.""" + import warnings import numpy as np diff --git a/gpm/dataset/decoding/coordinates.py b/gpm/dataset/decoding/coordinates.py index 3abfdcb0..0f0d4103 100644 --- a/gpm/dataset/decoding/coordinates.py +++ b/gpm/dataset/decoding/coordinates.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to sanitize GPM-API Dataset coordinates.""" + import numpy as np import xarray as xr diff --git a/gpm/dataset/decoding/dataarray_attrs.py b/gpm/dataset/decoding/dataarray_attrs.py index 2c2b74fd..ad6e9050 100644 --- a/gpm/dataset/decoding/dataarray_attrs.py +++ b/gpm/dataset/decoding/dataarray_attrs.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to standardize GPM-API Dataset attributes.""" + import re import numpy as np diff --git a/gpm/dataset/decoding/decode_1b_radar.py b/gpm/dataset/decoding/decode_1b_radar.py index be3ff0f2..8c614c1b 100644 --- a/gpm/dataset/decoding/decode_1b_radar.py +++ b/gpm/dataset/decoding/decode_1b_radar.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to decode GPM RADAR L1B products.""" + import xarray as xr from gpm.dataset.decoding.utils import ( diff --git a/gpm/dataset/decoding/decode_1c_pmw.py b/gpm/dataset/decoding/decode_1c_pmw.py index 73db187e..da23e145 100644 --- a/gpm/dataset/decoding/decode_1c_pmw.py +++ b/gpm/dataset/decoding/decode_1c_pmw.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to decode GPM PMW 1C products.""" + import xarray as xr from gpm.dataset.decoding.utils import ( diff --git a/gpm/dataset/decoding/decode_2a_pmw.py b/gpm/dataset/decoding/decode_2a_pmw.py index 6796e06b..d7418145 100644 --- a/gpm/dataset/decoding/decode_2a_pmw.py +++ b/gpm/dataset/decoding/decode_2a_pmw.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to decode GPM PMW 2A products.""" + import xarray as xr from gpm.dataset.decoding.utils import ( diff --git a/gpm/dataset/decoding/decode_2a_radar.py b/gpm/dataset/decoding/decode_2a_radar.py index c26b1e2b..462560ca 100644 --- a/gpm/dataset/decoding/decode_2a_radar.py +++ b/gpm/dataset/decoding/decode_2a_radar.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to decode GPM DPR, PR, Ka and Ku products.""" + import xarray as xr from gpm.dataset.decoding.utils import ( @@ -184,9 +185,7 @@ def decode_flagHeavyIcePrecip(da): da = da.where(da >= 1) # make 0 nan da.attrs["flag_values"] = [4, 8, 12, 16, 24, 32, 40] da.attrs["flag_meanings"] = [""] * 6 # TODO - da.attrs[ - "description" - ] = """Flag for detection of strong or severe precipitation accompanied + da.attrs["description"] = """Flag for detection of strong or severe precipitation accompanied by solid ice hydrometeors above the -10 degree C isotherm""" return da diff --git a/gpm/dataset/decoding/decode_2b_corra.py b/gpm/dataset/decoding/decode_2b_corra.py index 669d11d8..1f5b0936 100644 --- a/gpm/dataset/decoding/decode_2b_corra.py +++ b/gpm/dataset/decoding/decode_2b_corra.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to decode GPM DPR, PR, Ka and Ku products.""" + import xarray as xr from gpm.dataset.decoding.utils import ( diff --git a/gpm/dataset/decoding/decode_imerg.py b/gpm/dataset/decoding/decode_imerg.py index e7fec481..d863f074 100644 --- a/gpm/dataset/decoding/decode_imerg.py +++ b/gpm/dataset/decoding/decode_imerg.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to decode GPM PMW 2A products.""" + import xarray as xr from gpm.dataset.decoding.utils import ( diff --git a/gpm/dataset/decoding/routines.py b/gpm/dataset/decoding/routines.py index 2be4753c..6b7a6d65 100644 --- a/gpm/dataset/decoding/routines.py +++ b/gpm/dataset/decoding/routines.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to apply the products decoding routines.""" + import importlib from gpm.io.products import available_products diff --git a/gpm/dataset/decoding/utils.py b/gpm/dataset/decoding/utils.py index 809772be..e5a54a30 100644 --- a/gpm/dataset/decoding/utils.py +++ b/gpm/dataset/decoding/utils.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities for the decoding of GPM product variables.""" + import dask.array import numpy as np diff --git a/gpm/dataset/dimensions.py b/gpm/dataset/dimensions.py index e4fdd6d1..ca78a461 100644 --- a/gpm/dataset/dimensions.py +++ b/gpm/dataset/dimensions.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to retrieve the dimensions associated to each GPM variable.""" + import numpy as np import xarray as xr diff --git a/gpm/dataset/granule.py b/gpm/dataset/granule.py index b56c13ef..653608a7 100644 --- a/gpm/dataset/granule.py +++ b/gpm/dataset/granule.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to read a single file into a GPM-API Dataset.""" + import warnings from functools import partial diff --git a/gpm/dataset/groups_variables.py b/gpm/dataset/groups_variables.py index b5c791f9..cf24548b 100644 --- a/gpm/dataset/groups_variables.py +++ b/gpm/dataset/groups_variables.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to read GPM file groups, sub-groups and variables.""" + import numpy as np from gpm.utils.list import flatten_list diff --git a/gpm/gv/__init__.py b/gpm/gv/__init__.py index 70efb431..809eccd7 100644 --- a/gpm/gv/__init__.py +++ b/gpm/gv/__init__.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This directory contains utility for SR/GR validation.""" + import gpm.gv.xradar # noqa (import xradar_dev accessor) from gpm.gv.plots import ( compare_maps, diff --git a/gpm/gv/plots.py b/gpm/gv/plots.py index 1ec9f639..73ccbca4 100644 --- a/gpm/gv/plots.py +++ b/gpm/gv/plots.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains plotting utility for SR/GR validation.""" + import matplotlib.pyplot as plt import matplotlib.ticker as mticker import numpy as np diff --git a/gpm/gv/routines.py b/gpm/gv/routines.py index 58d4ad9b..ec5d7700 100644 --- a/gpm/gv/routines.py +++ b/gpm/gv/routines.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains the routine for SR/GR validation.""" + import warnings import cartopy.crs as ccrs diff --git a/gpm/gv/xradar/__init__.py b/gpm/gv/xradar/__init__.py index d1bd8602..750ef36f 100644 --- a/gpm/gv/xradar/__init__.py +++ b/gpm/gv/xradar/__init__.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This directory defines custom xradar xarray accessors.""" + from .accessors import Xradar_Dev_DataArray_Accessor, Xradar_Dev_Dataset_Accessor __all__ = ["Xradar_Dev_DataArray_Accessor", "Xradar_Dev_Dataset_Accessor"] diff --git a/gpm/io/checks.py b/gpm/io/checks.py index e1f8c57c..52be03b3 100644 --- a/gpm/io/checks.py +++ b/gpm/io/checks.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to check the GPM-API arguments.""" + import datetime import os import subprocess diff --git a/gpm/io/data_integrity.py b/gpm/io/data_integrity.py index 325125b1..83af9bf7 100644 --- a/gpm/io/data_integrity.py +++ b/gpm/io/data_integrity.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions that check the GPM files integrity.""" + import os import xarray as xr diff --git a/gpm/io/download.py b/gpm/io/download.py index b4e73b96..2e1c64a4 100644 --- a/gpm/io/download.py +++ b/gpm/io/download.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains the routines required to download data from the NASA PPS and GES DISC servers.""" + import datetime import ftplib import os diff --git a/gpm/io/filter.py b/gpm/io/filter.py index 4edcd2b8..94d74cd7 100644 --- a/gpm/io/filter.py +++ b/gpm/io/filter.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to filter files according to user specifics.""" + import datetime import re diff --git a/gpm/io/find.py b/gpm/io/find.py index 63f557d8..b89aa676 100644 --- a/gpm/io/find.py +++ b/gpm/io/find.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to find data on local and NASA servers.""" + import datetime import os import warnings diff --git a/gpm/io/local.py b/gpm/io/local.py index 410a63a8..b1ebb79c 100644 --- a/gpm/io/local.py +++ b/gpm/io/local.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions defining where to download GPM data on the local machine.""" + import os import re diff --git a/gpm/io/pps.py b/gpm/io/pps.py index 3e7ecaef..235b879a 100644 --- a/gpm/io/pps.py +++ b/gpm/io/pps.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains the routines required to search data on the NASA PPS servers.""" + import datetime import subprocess diff --git a/gpm/io/products.py b/gpm/io/products.py index d71cc8ca..75ab4fd5 100644 --- a/gpm/io/products.py +++ b/gpm/io/products.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to obtain GPM products information.""" + import datetime import functools import os diff --git a/gpm/retrievals/__init__.py b/gpm/retrievals/__init__.py index f2e255e9..a88664ad 100644 --- a/gpm/retrievals/__init__.py +++ b/gpm/retrievals/__init__.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This directory contains the GPM-API community-based retrievals encodings.""" + from gpm.retrievals.retrieval_1b_radar import open_dataset_1b_ka_fs __all__ = ["open_dataset_1b_ka_fs"] diff --git a/gpm/retrievals/retrieval_1b_c_pmw.py b/gpm/retrievals/retrieval_1b_c_pmw.py index efa22009..c743a1da 100644 --- a/gpm/retrievals/retrieval_1b_c_pmw.py +++ b/gpm/retrievals/retrieval_1b_c_pmw.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains GPM PMW 1B and 1C products community-based retrievals.""" + import numpy as np import pandas as pd import xarray as xr diff --git a/gpm/retrievals/retrieval_1b_radar.py b/gpm/retrievals/retrieval_1b_radar.py index 394b08e8..2d30f98a 100644 --- a/gpm/retrievals/retrieval_1b_radar.py +++ b/gpm/retrievals/retrieval_1b_radar.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains GPM RADAR L1B products community-based retrievals.""" + import datetime import numpy as np diff --git a/gpm/retrievals/retrieval_2a_radar.py b/gpm/retrievals/retrieval_2a_radar.py index c8773ace..8092aacb 100644 --- a/gpm/retrievals/retrieval_2a_radar.py +++ b/gpm/retrievals/retrieval_2a_radar.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains GPM RADAR 2A products community-based retrievals.""" + import numpy as np import xarray as xr diff --git a/gpm/retrievals/routines.py b/gpm/retrievals/routines.py index e17f8059..54e650e9 100644 --- a/gpm/retrievals/routines.py +++ b/gpm/retrievals/routines.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to search the GPM-API community-based retrievals.""" + import importlib from gpm.io.products import available_products diff --git a/gpm/scripts/download_gpm_daily_data.py b/gpm/scripts/download_gpm_daily_data.py index 25fc8ea3..1ba1f6f7 100644 --- a/gpm/scripts/download_gpm_daily_data.py +++ b/gpm/scripts/download_gpm_daily_data.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """Command line script to download daily GPM data.""" + import sys import warnings diff --git a/gpm/scripts/download_gpm_files.py b/gpm/scripts/download_gpm_files.py index 8b9e00c3..177d218e 100644 --- a/gpm/scripts/download_gpm_files.py +++ b/gpm/scripts/download_gpm_files.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """Command line script to download GPM files by filename.""" + import sys import warnings diff --git a/gpm/scripts/download_gpm_monthly_data.py b/gpm/scripts/download_gpm_monthly_data.py index 28c0e2cc..c4aae247 100644 --- a/gpm/scripts/download_gpm_monthly_data.py +++ b/gpm/scripts/download_gpm_monthly_data.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """Command line script to download monthly GPM data.""" + import sys import warnings diff --git a/gpm/tests/conftest.py b/gpm/tests/conftest.py index fd8ca1ac..3f51cfe3 100644 --- a/gpm/tests/conftest.py +++ b/gpm/tests/conftest.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module defines pytest fixtures available across all test modules.""" + import datetime import ntpath as ntp import posixpath as pxp diff --git a/gpm/tests/test_bucket/test_io.py b/gpm/tests/test_bucket/test_io.py index e5007d74..de44fc80 100644 --- a/gpm/tests/test_bucket/test_io.py +++ b/gpm/tests/test_bucket/test_io.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests the bucket I/O utilities.""" + import os from gpm.bucket.io import ( diff --git a/gpm/tests/test_bucket/test_partitioning.py b/gpm/tests/test_bucket/test_partitioning.py index 8a8fca8c..7add5bb6 100644 --- a/gpm/tests/test_bucket/test_partitioning.py +++ b/gpm/tests/test_bucket/test_partitioning.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests the Spatial Partitioning classes.""" + import os import dask.dataframe as dd diff --git a/gpm/tests/test_bucket/test_routines.py b/gpm/tests/test_bucket/test_routines.py index 60dc6629..3acc3c2c 100644 --- a/gpm/tests/test_bucket/test_routines.py +++ b/gpm/tests/test_bucket/test_routines.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests the bucket routines.""" + import os import pandas as pd diff --git a/gpm/tests/test_bucket/test_writers.py b/gpm/tests/test_bucket/test_writers.py index 2e90b259..726f9cf3 100644 --- a/gpm/tests/test_bucket/test_writers.py +++ b/gpm/tests/test_bucket/test_writers.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests the Apache Arrow Partitioned Dataset Writers.""" + import os import dask.dataframe as dd diff --git a/gpm/tests/test_config.py b/gpm/tests/test_config.py index 0b09dd9b..40bc5f73 100644 --- a/gpm/tests/test_config.py +++ b/gpm/tests/test_config.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """Check GPM-API configuration files.""" + import os import pytest diff --git a/gpm/tests/test_dataset/test_granule_files.py b/gpm/tests/test_dataset/test_granule_files.py index d601989e..959e1818 100644 --- a/gpm/tests/test_dataset/test_granule_files.py +++ b/gpm/tests/test_dataset/test_granule_files.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test that GPM-API Dataset structure, attributes and values does not mute across software versions.""" + import glob import os diff --git a/gpm/tests/test_donfig_config.py b/gpm/tests/test_donfig_config.py index 787a4ed5..3b88fb79 100644 --- a/gpm/tests/test_donfig_config.py +++ b/gpm/tests/test_donfig_config.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """Check GPM-API configuration files.""" + import os # noqa import pytest diff --git a/gpm/tests/test_io/test_data_integrity.py b/gpm/tests/test_io/test_data_integrity.py index ce1d356e..61bf897f 100644 --- a/gpm/tests/test_io/test_data_integrity.py +++ b/gpm/tests/test_io/test_data_integrity.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the data integrity checks.""" + import datetime import os diff --git a/gpm/tests/test_io/test_download.py b/gpm/tests/test_io/test_download.py index 152bd76f..714b5119 100644 --- a/gpm/tests/test_io/test_download.py +++ b/gpm/tests/test_io/test_download.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the download routines.""" + import datetime import os import platform diff --git a/gpm/tests/test_io/test_find.py b/gpm/tests/test_io/test_find.py index be69cb84..ccdf9d1e 100644 --- a/gpm/tests/test_io/test_find.py +++ b/gpm/tests/test_io/test_find.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the file search routines.""" + import datetime import os diff --git a/gpm/tests/test_io/test_ges_disc.py b/gpm/tests/test_io/test_ges_disc.py index 050be7fa..4c2cc66f 100644 --- a/gpm/tests/test_io/test_ges_disc.py +++ b/gpm/tests/test_io/test_ges_disc.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the GES DISC file search routines.""" + import datetime import pytest diff --git a/gpm/tests/test_io/test_pps.py b/gpm/tests/test_io/test_pps.py index 77d91640..8d59a1a8 100644 --- a/gpm/tests/test_io/test_pps.py +++ b/gpm/tests/test_io/test_pps.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the NASA PPS file search routines.""" + import datetime import pytest diff --git a/gpm/tests/test_io/test_products.py b/gpm/tests/test_io/test_products.py index 2b24d329..19edb56f 100644 --- a/gpm/tests/test_io/test_products.py +++ b/gpm/tests/test_io/test_products.py @@ -26,7 +26,6 @@ # -----------------------------------------------------------------------------. """This module test the product info routines.""" - import pytest from gpm.io.products import ( diff --git a/gpm/tests/test_utils/test_area.py b/gpm/tests/test_utils/test_area.py index ee09e316..9cc5a889 100644 --- a/gpm/tests/test_utils/test_area.py +++ b/gpm/tests/test_utils/test_area.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests quadmesh computations.""" + import dask import dask.array as da import numpy as np diff --git a/gpm/tests/test_utils/test_dask.py b/gpm/tests/test_utils/test_dask.py index aec1cd27..18704dce 100644 --- a/gpm/tests/test_utils/test_dask.py +++ b/gpm/tests/test_utils/test_dask.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the dask utilities.""" + import pytest from dask.distributed import Client, LocalCluster diff --git a/gpm/tests/test_utils/test_dataframe.py b/gpm/tests/test_utils/test_dataframe.py index e2010120..28282019 100644 --- a/gpm/tests/test_utils/test_dataframe.py +++ b/gpm/tests/test_utils/test_dataframe.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests the dataframe utilities functions.""" + import pyproj from gpm.dataset.crs import set_dataset_crs diff --git a/gpm/tests/test_utils/test_directories.py b/gpm/tests/test_utils/test_directories.py index ea8e9f4c..cd1927a3 100644 --- a/gpm/tests/test_utils/test_directories.py +++ b/gpm/tests/test_utils/test_directories.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the directories/files utilities.""" + import os import pytest diff --git a/gpm/tests/test_utils/test_parallel.py b/gpm/tests/test_utils/test_parallel.py index 22380b81..171a875e 100644 --- a/gpm/tests/test_utils/test_parallel.py +++ b/gpm/tests/test_utils/test_parallel.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the parallel utilities.""" + import dask import numpy as np import pytest diff --git a/gpm/tests/test_utils/test_pmw.py b/gpm/tests/test_utils/test_pmw.py index d7e943ce..9685b55f 100644 --- a/gpm/tests/test_utils/test_pmw.py +++ b/gpm/tests/test_utils/test_pmw.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module test the PMW utilities.""" + import numpy as np import pytest diff --git a/gpm/tests/test_utils/test_remapping.py b/gpm/tests/test_utils/test_remapping.py index f283dbab..16ac9f2a 100644 --- a/gpm/tests/test_utils/test_remapping.py +++ b/gpm/tests/test_utils/test_remapping.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests coordinates transformations and remapping utilities.""" + import dask.array as da import numpy as np import pyproj diff --git a/gpm/tests/test_utils/test_slices.py b/gpm/tests/test_utils/test_slices.py index ea6abd63..5c3ed782 100644 --- a/gpm/tests/test_utils/test_slices.py +++ b/gpm/tests/test_utils/test_slices.py @@ -26,7 +26,6 @@ # -----------------------------------------------------------------------------. """This module test the list slices utilities.""" - import numpy as np import pytest diff --git a/gpm/tests/test_utils/test_utils_checks.py b/gpm/tests/test_utils/test_utils_checks.py index f1ae119e..1bfe7d47 100644 --- a/gpm/tests/test_utils/test_utils_checks.py +++ b/gpm/tests/test_utils/test_utils_checks.py @@ -26,7 +26,6 @@ # -----------------------------------------------------------------------------. """This module test the granule checks utilities.""" - import numpy as np import pytest import xarray as xr diff --git a/gpm/tests/test_utils/test_utils_orbit.py b/gpm/tests/test_utils/test_utils_orbit.py index 81012d48..6a1ddd39 100644 --- a/gpm/tests/test_utils/test_utils_orbit.py +++ b/gpm/tests/test_utils/test_utils_orbit.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module tests the dataframe utilities functions.""" + import numpy as np import pytest diff --git a/gpm/tests/test_utils/utils.py b/gpm/tests/test_utils/utils.py index aaad5db1..5ac7e513 100644 --- a/gpm/tests/test_utils/utils.py +++ b/gpm/tests/test_utils/utils.py @@ -26,7 +26,6 @@ # -----------------------------------------------------------------------------. """This module provide utility functions used in the unit tests.""" - import numpy as np import xarray as xr diff --git a/gpm/utils/archive.py b/gpm/utils/archive.py index cf9245e3..43d419fb 100644 --- a/gpm/utils/archive.py +++ b/gpm/utils/archive.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities for GPM Data Archiving.""" + import warnings import numpy as np diff --git a/gpm/utils/area.py b/gpm/utils/area.py index 9f8891b0..7188ef15 100644 --- a/gpm/utils/area.py +++ b/gpm/utils/area.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains tools for quadmesh/footprints computations.""" + # -----------------------------------------------------------------. # API # get_quadmesh_centroids # gpm.quadmesh_centroids(crs=None) diff --git a/gpm/utils/checks.py b/gpm/utils/checks.py index cae156ec..83bf57ae 100644 --- a/gpm/utils/checks.py +++ b/gpm/utils/checks.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities to check GPM-API Dataset coordinates.""" + import functools import numpy as np diff --git a/gpm/utils/collocation.py b/gpm/utils/collocation.py index f8d6164b..3ae25d4d 100644 --- a/gpm/utils/collocation.py +++ b/gpm/utils/collocation.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities for GPM product collocation.""" + import datetime import numpy as np diff --git a/gpm/utils/dask.py b/gpm/utils/dask.py index 89381b42..dfdd2b87 100644 --- a/gpm/utils/dask.py +++ b/gpm/utils/dask.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities for Dask Distributed processing.""" + import ctypes import platform diff --git a/gpm/utils/dataframe.py b/gpm/utils/dataframe.py index 714f26db..a8691150 100644 --- a/gpm/utils/dataframe.py +++ b/gpm/utils/dataframe.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains general utility to convert xarray objects to dataframes.""" + import dask import numpy as np import pandas as pd diff --git a/gpm/utils/decorators.py b/gpm/utils/decorators.py index af62e0b2..e84d587d 100644 --- a/gpm/utils/decorators.py +++ b/gpm/utils/decorators.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions decorators checking GPM-API object type.""" + import functools import importlib from functools import wraps diff --git a/gpm/utils/directories.py b/gpm/utils/directories.py index 2e194edb..abedb3cf 100644 --- a/gpm/utils/directories.py +++ b/gpm/utils/directories.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to search files and directories into the local machine.""" + import concurrent import fnmatch import glob diff --git a/gpm/utils/geospatial.py b/gpm/utils/geospatial.py index 422ba8f8..ab17fbd8 100644 --- a/gpm/utils/geospatial.py +++ b/gpm/utils/geospatial.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions for geospatial processing.""" + import difflib import os from collections import namedtuple diff --git a/gpm/utils/parallel.py b/gpm/utils/parallel.py index 6471bf9c..012f6e1b 100644 --- a/gpm/utils/parallel.py +++ b/gpm/utils/parallel.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities for parallel processing.""" + import itertools import dask diff --git a/gpm/utils/pmw.py b/gpm/utils/pmw.py index 8f62a89a..225219bb 100644 --- a/gpm/utils/pmw.py +++ b/gpm/utils/pmw.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module provides PMW utilities.""" + import functools import os import re diff --git a/gpm/utils/remapping.py b/gpm/utils/remapping.py index d0c46e4d..4554fe49 100644 --- a/gpm/utils/remapping.py +++ b/gpm/utils/remapping.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains tools for coordinates transformation and data remapping.""" + import os import dask diff --git a/gpm/utils/subsetting.py b/gpm/utils/subsetting.py index 76f15731..94d3a660 100644 --- a/gpm/utils/subsetting.py +++ b/gpm/utils/subsetting.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions for subsetting and aligning GPM ORBIT Datasets.""" + import numpy as np from xarray.core.utils import either_dict_or_kwargs diff --git a/gpm/utils/xarray.py b/gpm/utils/xarray.py index eec6d05a..f90436a4 100644 --- a/gpm/utils/xarray.py +++ b/gpm/utils/xarray.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains general utility for xarray objects.""" + import functools import numpy as np diff --git a/gpm/utils/yaml.py b/gpm/utils/yaml.py index d59fe638..a4b5bf60 100644 --- a/gpm/utils/yaml.py +++ b/gpm/utils/yaml.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module defines a YAML file reader and writer.""" + import yaml diff --git a/gpm/utils/zonal_stats.py b/gpm/utils/zonal_stats.py index 73fe7dbf..b878ad44 100644 --- a/gpm/utils/zonal_stats.py +++ b/gpm/utils/zonal_stats.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains tools for zonal statistics computations.""" + import numpy as np import shapely from shapely.strtree import STRtree diff --git a/gpm/visualization/__init__.py b/gpm/visualization/__init__.py index 5d222718..8c45b19f 100644 --- a/gpm/visualization/__init__.py +++ b/gpm/visualization/__init__.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This directory contains the GPM-API data visualization tools.""" + from pycolorbar import plot_colorbar from gpm.visualization.plot import ( diff --git a/gpm/visualization/animation.py b/gpm/visualization/animation.py index 09932821..1973b5a7 100644 --- a/gpm/visualization/animation.py +++ b/gpm/visualization/animation.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains tools for creating animations.""" + import contextlib import os import shutil diff --git a/gpm/visualization/cross_section.py b/gpm/visualization/cross_section.py index 148a1f22..4a2a11ca 100644 --- a/gpm/visualization/cross_section.py +++ b/gpm/visualization/cross_section.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to visualize cross-sections.""" + import cartopy.crs as ccrs import matplotlib.pyplot as plt import numpy as np diff --git a/gpm/visualization/eda.py b/gpm/visualization/eda.py index bb1a8963..349fac60 100644 --- a/gpm/visualization/eda.py +++ b/gpm/visualization/eda.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains plotting functions for exploratory data visualization.""" + import matplotlib.pyplot as plt import numpy as np import pandas as pd diff --git a/gpm/visualization/facetgrid.py b/gpm/visualization/facetgrid.py index d5eb471c..28e75684 100644 --- a/gpm/visualization/facetgrid.py +++ b/gpm/visualization/facetgrid.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains the FacetGrid classes.""" + import itertools import warnings from abc import ABC, abstractmethod diff --git a/gpm/visualization/orbit.py b/gpm/visualization/orbit.py index 1dd57100..fef90cd0 100644 --- a/gpm/visualization/orbit.py +++ b/gpm/visualization/orbit.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions to visualize GPM-API ORBIT data.""" + import functools import cartopy.crs as ccrs diff --git a/gpm/visualization/plot.py b/gpm/visualization/plot.py index 933ce8b9..baede38f 100644 --- a/gpm/visualization/plot.py +++ b/gpm/visualization/plot.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains basic functions for GPM-API data visualization.""" + import inspect import warnings diff --git a/gpm/visualization/plot_3d.py b/gpm/visualization/plot_3d.py index ca70bd89..f5cd0a2b 100644 --- a/gpm/visualization/plot_3d.py +++ b/gpm/visualization/plot_3d.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains functions for 3D visualization of GPM-API RADAR data.""" + import numpy as np # TODO: diff --git a/gpm/visualization/quicklooks.py b/gpm/visualization/quicklooks.py index 3242914a..1a86a4dc 100644 --- a/gpm/visualization/quicklooks.py +++ b/gpm/visualization/quicklooks.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utility for generating quicklooks.""" + import numpy as np import xarray as xr diff --git a/gpm/visualization/title.py b/gpm/visualization/title.py index a346eafe..828a8a51 100644 --- a/gpm/visualization/title.py +++ b/gpm/visualization/title.py @@ -25,6 +25,7 @@ # -----------------------------------------------------------------------------. """This module contains utilities to define plot titles.""" + import numpy as np