Skip to content

Commit 9d879e3

Browse files
committed
Move files only used in tests to pvlib/tests/data
1 parent 2816ed1 commit 9d879e3

80 files changed

Lines changed: 1595 additions & 1593 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ coverage.xml
8282

8383
# Datafiles
8484
*.csv
85-
# Ignore some csv
86-
!pvlib/data/*.csv
85+
# Do not exclude data directories
86+
!pvlib/data/**
87+
!pvlib/tests/data/**
8788

8889
# vi
8990
*.swp

pvlib/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def assert_frame_equal(left, right, **kwargs):
7070

7171
# commonly used directories in the tests
7272
TEST_DIR = Path(__file__).parent
73-
DATA_DIR = TEST_DIR.parent / 'data'
73+
PVLIB_DATA_DIR = TEST_DIR.parent / 'data'
74+
TESTS_DATA_DIR = TEST_DIR / 'data'
7475

7576

7677
# pytest-rerunfailures variables

pvlib/data/Burlington, United States SolarAnywhere Time Series 2021 Lat_44_465 Lon_-73_205 TMY3 format.csv renamed to pvlib/tests/data/Burlington, United States SolarAnywhere Time Series 2021 Lat_44_465 Lon_-73_205 TMY3 format.csv

File renamed without changes.

pvlib/data/Burlington, United States SolarAnywhere Time Series 20210101 to 20210103 Lat_44_4675 Lon_-73_2075 SA format.csv renamed to pvlib/tests/data/Burlington, United States SolarAnywhere Time Series 20210101 to 20210103 Lat_44_4675 Lon_-73_2075 SA format.csv

File renamed without changes.

pvlib/data/Burlington, United States SolarAnywhere Typical GHI Year Lat_44_465 Lon_-73_205 SA format.csv renamed to pvlib/tests/data/Burlington, United States SolarAnywhere Typical GHI Year Lat_44_465 Lon_-73_205 SA format.csv

File renamed without changes.

pvlib/data/CPS SCH275KTL-DO-US-800-250kW_275kVA_1.OND renamed to pvlib/tests/data/CPS SCH275KTL-DO-US-800-250kW_275kVA_1.OND

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)