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 Jun 5, 2024
1 parent 01994b8 commit 1929dd8
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 143 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
title: 'CABAUW'
description: ''
source: ''
history: ''
conventions: ''
campaign_name: 'DELFT'
project_name: ''
station_id: 'STATIONID'
station_name: 'Cabauw'
location: ''
country: 'Netherlands'
continent: 'Europe'
title: "CABAUW"
description: ""
source: ""
history: ""
conventions: ""
campaign_name: "DELFT"
project_name: ""
station_id: "STATIONID"
station_name: "Cabauw"
location: ""
country: "Netherlands"
continent: "Europe"
latitude: 51.96832449
longitude: 4.92921567
altitude: 1
Expand All @@ -19,25 +19,25 @@ EPSG: 4326
latitude_unit: DegreesNorth
longitude_unit: DegreesEast
altitude_unit: MetersAboveSeaLevel
sensor_name: 'OTT_Parsivel2'
sensor_long_name: 'OTT Hydromet Parsivel 2'
sensor_wavelength: ''
sensor_serial_number: ''
firmware_iop: ''
firmware_dsp: ''
firmware_version: ''
sensor_beam_width: ''
sensor_nominal_width: ''
measurement_interval: ''
contributors: ''
authors: ''
institution: ''
references: ''
documentation: ''
website: ''
source_repository: ''
doi: ''
contact: ''
contact_information: ''
source_data_format: ''
obs_type: ''
sensor_name: "OTT_Parsivel2"
sensor_long_name: "OTT Hydromet Parsivel 2"
sensor_wavelength: ""
sensor_serial_number: ""
firmware_iop: ""
firmware_dsp: ""
firmware_version: ""
sensor_beam_width: ""
sensor_nominal_width: ""
measurement_interval: ""
contributors: ""
authors: ""
institution: ""
references: ""
documentation: ""
website: ""
source_repository: ""
doi: ""
contact: ""
contact_information: ""
source_data_format: ""
obs_type: ""
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
data_source: 'DATA_SOURCE'
campaign_name: 'CAMPAIGN_NAME'
station_name: 'STATION_NAME'
sensor_name: 'OTT_Parsivel'
reader: 'EPFL/EPFL_2009'
data_source: "DATA_SOURCE"
campaign_name: "CAMPAIGN_NAME"
station_name: "STATION_NAME"
sensor_name: "OTT_Parsivel"
reader: "EPFL/EPFL_2009"
raw_data_format: txt
platform_type: fixed
source: ''
source_convention: ''
source_processing_date: ''
title: ''
description: ''
summary: ''
history: ''
keywords: ''
project_name: ''
comment: ''
station_id: ''
location: ''
country: ''
continent: ''
source: ""
source_convention: ""
source_processing_date: ""
title: ""
description: ""
summary: ""
history: ""
keywords: ""
project_name: ""
comment: ""
station_id: ""
location: ""
country: ""
continent: ""
latitude: -9999
longitude: -9999
altitude: -9999
deployment_status: ''
deployment mode: ''
platform_protection: ''
platform_orientation: ''
sensor_long_name: ''
sensor_manufacturer: ''
sensor_wavelength: ''
sensor_serial_number: ''
firmware_iop: ''
firmware_dsp: ''
firmware_version: ''
sensor_beam_length: ''
sensor_beam_width: ''
sensor_nominal_width: ''
measurement_interval: ''
calibration_sensitivity: ''
calibration_certification_date: ''
calibration_certification_url: ''
contributors: ''
authors: ''
authors_url: ''
contact: ''
contact_information: ''
acknowledgement: ''
references: ''
documentation: ''
website: ''
institution: ''
source_repository: ''
license: ''
doi: ''
deployment_status: ""
deployment mode: ""
platform_protection: ""
platform_orientation: ""
sensor_long_name: ""
sensor_manufacturer: ""
sensor_wavelength: ""
sensor_serial_number: ""
firmware_iop: ""
firmware_dsp: ""
firmware_version: ""
sensor_beam_length: ""
sensor_beam_width: ""
sensor_nominal_width: ""
measurement_interval: ""
calibration_sensitivity: ""
calibration_certification_date: ""
calibration_certification_url: ""
contributors: ""
authors: ""
authors_url: ""
contact: ""
contact_information: ""
acknowledgement: ""
references: ""
documentation: ""
website: ""
institution: ""
source_repository: ""
license: ""
doi: ""
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
data_source: ''
campaign_name: ''
station_name: ''
sensor_name: ''
reader: ''
data_source: ""
campaign_name: ""
station_name: ""
sensor_name: ""
reader: ""
raw_data_format: txt
platform_type: fixed
source: ''
source_convention: ''
source_processing_date: ''
title: ''
description: ''
project_name: ''
keywords: ''
summary: ''
history: ''
comment: ''
station_id: ''
location: ''
country: ''
continent: ''
source: ""
source_convention: ""
source_processing_date: ""
title: ""
description: ""
project_name: ""
keywords: ""
summary: ""
history: ""
comment: ""
station_id: ""
location: ""
country: ""
continent: ""
latitude: -9999
longitude: -9999
altitude: -9999
deployment_status: ''
deployment mode: ''
platform_protection: ''
platform_orientation: ''
sensor_long_name: ''
sensor_manufacturer: ''
sensor_wavelength: ''
sensor_serial_number: ''
firmware_iop: ''
firmware_dsp: ''
firmware_version: ''
sensor_beam_length: ''
sensor_beam_width: ''
sensor_nominal_width: ''
measurement_interval: ''
calibration_sensitivity: ''
calibration_certification_date: ''
calibration_certification_url: ''
contributors: ''
authors: ''
authors_url: ''
contact: ''
contact_information: ''
acknowledgement: ''
references: ''
documentation: ''
website: ''
institution: ''
source_repository: ''
license: ''
doi: ''
deployment_status: ""
deployment mode: ""
platform_protection: ""
platform_orientation: ""
sensor_long_name: ""
sensor_manufacturer: ""
sensor_wavelength: ""
sensor_serial_number: ""
firmware_iop: ""
firmware_dsp: ""
firmware_version: ""
sensor_beam_length: ""
sensor_beam_width: ""
sensor_nominal_width: ""
measurement_interval: ""
calibration_sensitivity: ""
calibration_certification_date: ""
calibration_certification_url: ""
contributors: ""
authors: ""
authors_url: ""
contact: ""
contact_information: ""
acknowledgement: ""
references: ""
documentation: ""
website: ""
institution: ""
source_repository: ""
license: ""
doi: ""
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# time_period:
# - ['2018-08-01 12:00:00', '2018-08-01 14:00:00']
# - ['2018-08-01 15:44:30', '2018-08-01 15:59:31']
# - ['2018-08-02 12:44:30', '2018-08-02 12:59:31']
# - ['2018-08-02 12:44:30', '2018-08-02 12:59:31']

timesteps:
- '2018-12-07 14:15:00'
- "2018-12-07 14:15:00"
time_periods:
- ['2018-08-01 12:00:00', '2018-08-01 14:00:00']
- ["2018-08-01 12:00:00", "2018-08-01 14:00:00"]
6 changes: 3 additions & 3 deletions disdrodb/utils/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ def unzip_file(filepath: str, dest_path: str) -> None:
"""Unzip a file into a directory.
Parameters
-----------
----------
filepath : str
Path of the file to unzip.
dest_path : str
Path of the destination directory.
"""
with zipfile.ZipFile(filepath, "r") as zip_ref:
zip_ref.extractall(dest_path)
Expand All @@ -56,7 +56,7 @@ def _zip_dir(dir_path: str) -> str:
"""Zip a directory into a file located in the same directory.
Parameters
-----------
----------
dir_path : str
Path of the directory to zip.
Expand Down
5 changes: 2 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"python": ("https://docs.python.org/3/", None),
"xarray": ("https://docs.xarray.dev/en/stable/", None),
"dask": ("https://docs.dask.org/en/stable/", None),
"pydantic": ("https://docs.pydantic.dev/latest/", None)
"pydantic": ("https://docs.pydantic.dev/latest/", None),
}
always_document_param_types = True

Expand All @@ -83,7 +83,6 @@
("py:class", "t.Iterable"),
("py:class", "sorted"),
("py:class", "dictionary"),

]
nitpick_ignore_regex = [
("py:class", r".*[cC]allable"),
Expand Down Expand Up @@ -211,4 +210,4 @@ def linkcode_resolve(domain, info):
if "+" in disdrodb.__version__:
return f"https://github.com/ltelab/disdrodb/blob/main/disdrodb/{fn}{linespec}"
else:
return f"https://github.com/ltelab/disdrodb/blob/" f"v{disdrodb.__version__}/disdrodb/{fn}{linespec}"
return f"https://github.com/ltelab/disdrodb/blob/" f"v{disdrodb.__version__}/disdrodb/{fn}{linespec}"

0 comments on commit 1929dd8

Please sign in to comment.