Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/mkruleref.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion examples/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion examples/check_s3_bucket.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion examples/plugin_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion examples/rule_testing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion examples/virtual_plugin_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ site_name: XRLint
repo_url: https://github.com/bcdev/xrlint
repo_name: bcdev/xrlint

copyright: Copyright © 2025 Brockmann Consult
copyright: Copyright © 2026 Brockmann Consult

nav:
- Overview: index.md
Expand Down
2 changes: 1 addition & 1 deletion notebooks/mkdataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/_linter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/_linter/test_rulectx.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/cli/configs/recommended.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/cli/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/cli/test_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/cli/test_main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/formatters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/formatters/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/formatters/test_html.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/formatters/test_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/formatters/test_simple.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

4 changes: 4 additions & 0 deletions tests/plugins/acdd/rules/test_attributes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

import xarray as xr
from xrlint.testing import RuleTest, RuleTester

Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/acdd/rules/test_conventions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

import xarray as xr
from xrlint.testing import RuleTest, RuleTester

Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/acdd/rules/test_id_blanks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

import xarray as xr
from xrlint.testing import RuleTest, RuleTester

Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/acdd/rules/test_iso_dates.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

import xarray as xr
from xrlint.testing import RuleTest, RuleTester

Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/acdd/rules/test_metadata_link.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

import xarray as xr
from xrlint.testing import RuleTest, RuleTester

Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/acdd/test_plugin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

from unittest import TestCase

from xrlint.plugins.acdd import export_plugin
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/plugins/core/rules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_access_latency.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_content_desc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_conventions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_coords_for_dims.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_grid_mappings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_lat_lon_coordinate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_no_empty_attrs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_no_empty_chunks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_time_coordinate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_var_desc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_var_flags.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_var_missing_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/rules/test_var_units.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/core/test_plugin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/plugins/xcube/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/processors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/plugins/xcube/processors/test_mldataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_any_spatial_data_var.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_cube_dims_order.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_data_var_colors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_dataset_title.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_grid_mapping_naming.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_increasing_time.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_lat_lon_naming.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_ml_dataset_meta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_ml_dataset_time.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_ml_dataset_xy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_no_chunked_coords.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_single_grid_mapping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/rules/test_time_naming.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/test_plugin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/xcube/test_util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2025 Brockmann Consult GmbH.
# Copyright © 2026 Brockmann Consult GmbH.
# This software is distributed under the terms and conditions of the
# MIT license (https://mit-license.org/).

Expand Down
Loading
Loading