Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Adam J. Stewart b09122f3e4
Ruff: prefer single quotes over double quotes (#2001)
* Ruff: prefer single quotes over double quotes

* Apply ruff format
2024-05-03 19:30:14 +02:00
Adam J. Stewart 30cbdad879
Sentinel-2: add support for files downloaded from USGS EarthExplorer (#754)
* Sentinel-2: add support for files downloaded from USGS EarthExplorer

* Style fix

* Fix driver

* Properly close filehandles

* Sentinel is uint16, not int32

* Fix import order

* Use correct resolution for each image
2022-09-05 14:18:57 -05:00
Adam J. Stewart 0dce631dfe
Make scripts executable 2022-08-06 22:00:59 +00:00
Maciej Kilian 7b5a92b1c1
USAVars: implementing DataModule (#441)
* USAVars: implementing DataModule

* Adding initial version

* add to __init__

* changes

* add transforms argument

* black, isort fix

* fixed shuffle option

* update docs

* fix formatting

* initial split method

* fix formatting

* testing for datamodule

* this is simpler

* testing seed

* fix isort + test seed

* refactor dataset for splits

* black fix

* adding splits to fake data

* change test splits

* working tests locally

* fix black

* fix black

* adapt module to dataset refactor

* complete docstring

* Style fixes

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-06-27 00:52:15 +00:00
iejMac 051d7f2685
Adding dataset from MOSAIKS paper (#363)
* Adding dataset from MOSAIKS paper

* Name change

* implementing NAIPTileIndex in USAVars

* lookup_point works

* usavars: adding extract + verify

* USAVars: add md5

* initial _load_files function

* adding plotting

* formatting

* add description

* black fix

* flake8 fix

* pydocstyle fix

* mypy fix

* add DS to docs

* black fix

* fake dataset

* add transforms arg

* initial tests

* fix black flake8 isort

* fix black flake8

* fix black

* fix mypy

* test fixes

* testing something

* it finds zip but not csv

* fake csv files didn't get added

* pandas docs fix

* forgot to take out here

* need to add in functions

* round plot labels

* Small edits

* remove Unnamed column

* zipfile change

* i think this solves codecov?

* there needs to be a test

* codecov

* bring back UAR!

* remove intermediate directory

* fix flake8

* No more iteration in load_files

* dont' use Any

* check if all csv files exist

* Add docstring to init

* use index col = ID

* labels in as list

* adjust to only 3 labels + adjust tests

* citation

* remove testing file

* no need to rename zipfile

* adding data.py to test data + adjusting tests

* formatting fixes

* style fix

* docstring

* Docstring

* Fixing docstring

* docstring for labels

* Adding all csv files to data + checking for all 7 labels instead of just 3

* docstrings

* docstring

* ensure labels are valid

* pydocstyle fix

* cast to list

* remove typos

* Requested changes

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2022-02-27 20:11:21 +00:00