Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP GRIB2 table3.2 earth radius 6,371,229m #369

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

GRIB2 table3.2 earth radius 6,371,229m

387a556
Select commit
Loading
Failed to load commit list.
Open

WIP GRIB2 table3.2 earth radius 6,371,229m #369

GRIB2 table3.2 earth radius 6,371,229m
387a556
Select commit
Loading
Failed to load commit list.
Cirrus CI / linux tests: iris=repo-main python=3.11 failed Dec 13, 2023 in 2m 23s

Task Summary

Instruction tests failed in 01:13

Details

⚠️ Not enough compute credits to prioritize tasks!
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks

✅ 00:02 clone
✅ 00:51 conda
✅ 00:09 nox
✅ 00:04 data
❌ 01:13 tests

test_grib_unknown (iris_grib.tests.unit.test__load_generate.Test.test_grib_unknown) ... ok
/tmp/cirrus-ci-build/.nox/tests-iris_source-source/lib/python3.11/site-packages/iris/fileformats/rules.py:340: IrisUserWarning: Unable to create instance of HybridPressureFactory. The source data contains no field(s) for 'ref_surface_pressure'.
  warnings.warn(
test_save_append (iris_grib.tests.unit.test_save_grib2.TestSaveGrib2.test_save_append) ... ok
test_save_no_append (iris_grib.tests.unit.test_save_grib2.TestSaveGrib2.test_save_no_append) ... ok
test_as_pairs (iris_grib.tests.unit.test_load_pairs_from_fields.TestAsCubes.test_as_pairs) ... ok
test_year_filter (iris_grib.tests.unit.test_load_pairs_from_fields.TestAsCubes.test_year_filter) ... ok
test_year_filter_none (iris_grib.tests.unit.test_load_pairs_from_fields.TestAsCubes.test_year_filter_none) ... ok
test_save (iris_grib.tests.unit.test_save_messages.TestSaveMessages.test_save) ... ok
test_save_append (iris_grib.tests.unit.test_save_messages.TestSaveMessages.test_save_append) ... ok
test_reduced_raw (iris_grib.tests.unit.test_load_cubes.Test_load_cubes.test_reduced_raw) ... ok
/tmp/cirrus-ci-build/iris_grib/_save_rules.py:813: UserWarning: Unable to determine Grib2 parameter code for cube.
discipline, parameterCategory and parameterNumber have been set to "missing".
  warnings.warn('Unable to determine Grib2 parameter code for cube.\n'
/tmp/cirrus-ci-build/iris_grib/_save_rules.py:1585: UserWarning: Unable to determine Grib2 parameter code for cube.
Message data may not be correctly scaled.
  warnings.warn('Unable to determine Grib2 parameter code for cube.\n'
test_license_headers (iris_grib.tests.test_license_headers.TestLicenseHeaders.test_license_headers) ... ERROR
test_float32 (iris_grib.tests.unit.save_rules.test_data_section.TestNonDoubleData.test_float32) ... ok
test_int32 (iris_grib.tests.unit.save_rules.test_data_section.TestNonDoubleData.test_int32) ... ok
test_int64 (iris_grib.tests.unit.save_rules.test_data_section.TestNonDoubleData.test_int64) ... ok
test_time_and_forecast_period_round_trip (iris_grib.tests.integration.format_interop.test_pp_grib.TestBoundedTime.test_time_and_forecast_period_round_trip) ... ok
test_pep8_conformance (iris_grib.tests.test_pep8.Test.test_pep8_conformance) ... FAIL

======================================================================
ERROR: test_license_headers (iris_grib.tests.test_license_headers.TestLicenseHeaders.test_license_headers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cirrus-ci-build/iris_grib/tests/test_license_headers.py", line 114, in test_license_headers
    raise ValueError('There were license header failures. See stdout.')
ValueError: There were license header failures. See stdout.
-------------------- >> begin captured stdout << ---------------------
The file iris_grib/tests/unit/save_rules/test_grid_definition_template_140.py does not start with the required license header.

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: test_pep8_conformance (iris_grib.tests.test_pep8.Test.test_pep8_conformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cirrus-ci-build/iris_grib/tests/test_pep8.py", line 37, in test_pep8_conformance
    self.assertEqual(result.total_errors, 0, emsg)
AssertionError: 3 != 0 : Found code pep8 errors (and warnings).
-------------------- >> begin captured stdout << ---------------------
/tmp/cirrus-ci-build/iris_grib/_save_rules.py:215:39: E222 multiple spaces after operator
/tmp/cirrus-ci-build/iris_grib/_save_rules.py:215:80: E501 line too long (97 > 79 characters)
/tmp/cirrus-ci-build/iris_grib/_save_rules.py:215:85: E222 multiple spaces after operator

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 551 tests in 1.945s

FAILED (errors=1, failures=1)
nox > Command python -m iris_grib.tests.runner --default-tests failed with exit code 1
nox > Session tests(iris_source='source') failed.