Skip to content

Commit 29e38db

Browse files
authored
fix test with pseudonetcdf 3.2 (#5875)
1 parent 07de257 commit 29e38db

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

xarray/tests/data/example.ict

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
27, 1001
1+
29, 1001
22
Henderson, Barron
33
U.S. EPA
44
Example file with artificial data
55
JUST_A_TEST
66
1, 1
7-
2018, 04, 27, 2018, 04, 27
7+
2018, 04, 27 2018, 04, 27
88
0
99
Start_UTC
10-
7
10+
5
1111
1, 1, 1, 1, 1
1212
-9999, -9999, -9999, -9999, -9999
1313
lat, degrees_north
@@ -16,7 +16,9 @@ elev, meters
1616
TEST_ppbv, ppbv
1717
TESTM_ppbv, ppbv
1818
0
19-
8
19+
9
20+
INDEPENDENT_VARIABLE_DEFINITION: Start_UTC
21+
INDEPENDENT_VARIABLE_UNITS: Start_UTC
2022
ULOD_FLAG: -7777
2123
ULOD_VALUE: N/A
2224
LLOD_FLAG: -8888

xarray/tests/test_backends.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3964,7 +3964,7 @@ def myatts(**attrs):
39643964
"coords": {},
39653965
"attrs": {
39663966
"fmt": "1001",
3967-
"n_header_lines": 27,
3967+
"n_header_lines": 29,
39683968
"PI_NAME": "Henderson, Barron",
39693969
"ORGANIZATION_NAME": "U.S. EPA",
39703970
"SOURCE_DESCRIPTION": "Example file with artificial data",
@@ -3973,7 +3973,9 @@ def myatts(**attrs):
39733973
"SDATE": "2018, 04, 27",
39743974
"WDATE": "2018, 04, 27",
39753975
"TIME_INTERVAL": "0",
3976+
"INDEPENDENT_VARIABLE_DEFINITION": "Start_UTC",
39763977
"INDEPENDENT_VARIABLE": "Start_UTC",
3978+
"INDEPENDENT_VARIABLE_UNITS": "Start_UTC",
39773979
"ULOD_FLAG": "-7777",
39783980
"ULOD_VALUE": "N/A",
39793981
"LLOD_FLAG": "-8888",

0 commit comments

Comments
 (0)