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

Remove GitLFS Dependency #40

Open
wants to merge 66 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
c43c251
restructuring for to extract example dir
crvernon Feb 27, 2019
9ab33df
building class for url install of data
crvernon Feb 27, 2019
1939f5f
revise to remove GitLFS procedure
crvernon Feb 27, 2019
d67ecdd
finalize install supplement fetch
crvernon Feb 27, 2019
54b53e3
add install_supplements call to setup
crvernon Feb 27, 2019
44781d7
add install_supplements call to setup
crvernon Feb 27, 2019
af25813
remove GitLFS attributes file
crvernon Feb 27, 2019
54e1e28
adding setup.py install
crvernon Feb 27, 2019
d37f2d8
replacing keyword var name
crvernon Feb 27, 2019
e63d95f
call error fix to fetch
crvernon Feb 27, 2019
a291a06
add abspath call to root dir
crvernon Mar 4, 2019
fed5fe2
correct paths
crvernon Mar 4, 2019
c0635dd
raise paths to class level
crvernon Mar 4, 2019
d90da93
fix typo
crvernon Mar 4, 2019
af1fddf
fix root path
crvernon Mar 4, 2019
f225e83
bring paths to class level
crvernon Mar 4, 2019
52af9db
bring paths to class level
crvernon Mar 4, 2019
69aa103
update user on supplement install
crvernon Mar 4, 2019
93b1c42
add class token
crvernon Mar 4, 2019
211004d
good grief - remove token
crvernon Mar 4, 2019
f1cc4e3
dump call to setup
crvernon Mar 4, 2019
da49fd0
dump lfs on this
crvernon Mar 4, 2019
0efc806
make travis run setup
crvernon Mar 4, 2019
090a683
moving InstallSupplement to end
crvernon Mar 5, 2019
b80a391
change to pip install .; remove 2.7
crvernon Mar 5, 2019
7007e8b
install reqs
crvernon Mar 5, 2019
95e8fdd
spacing
crvernon Mar 5, 2019
1a449ae
adding requests mod
crvernon Mar 5, 2019
d25baf0
adjusting import
crvernon Mar 5, 2019
67a9499
set to call setup.py
crvernon Mar 5, 2019
299005e
adding report message for unzip
crvernon Mar 5, 2019
46ba167
adjust example dir path
crvernon Mar 5, 2019
7c96cee
update path in config for example dir
crvernon Mar 5, 2019
511e9c3
break link to lfs for docs
crvernon Mar 5, 2019
8633f6d
add in docs
crvernon Mar 5, 2019
0eca524
Update setup.py
rplzzz Mar 5, 2019
f6b8e7e
alter install to get current version
crvernon Jul 17, 2019
77e3d61
remove install supplement from setup
crvernon Jul 17, 2019
b8c2937
add include manifest pkgs in setup
crvernon Jul 17, 2019
9435f24
build internal data load
crvernon Jul 17, 2019
5b80adb
remove reference loading from ini
crvernon Jul 17, 2019
e9e8179
adding manifest
crvernon Jul 17, 2019
7a0dcd4
adding package data
crvernon Jul 17, 2019
1ec634c
add test data to manifest
crvernon Jul 17, 2019
b6a40d3
setup for new non-lfs config
crvernon Jul 17, 2019
6bf805f
update to fetch via pkg_resources
crvernon Jul 17, 2019
43d90d6
update to fetch via pkg_resources
crvernon Jul 17, 2019
63fca3d
fix formatting
crvernon Jul 17, 2019
a8034d9
removing old data
crvernon Jul 17, 2019
9b62ac8
removing test data from manifest
crvernon Jul 17, 2019
06863bc
fix file paths
crvernon Jul 17, 2019
779d5a9
adding example install script for travis-ci
crvernon Jul 17, 2019
aa65fd9
update data install
crvernon Jul 17, 2019
5258dd5
fix paths
crvernon Jul 17, 2019
ac869c0
remove install data call
crvernon Jul 17, 2019
043e309
fix config path
crvernon Jul 17, 2019
51fceda
remove os import
crvernon Jul 17, 2019
8559537
remove lfs
crvernon Jul 17, 2019
9c2f8d1
raise class to main
crvernon Jul 17, 2019
440125c
remove existing test structure
crvernon May 11, 2020
3d99e12
add new tests dir
crvernon May 11, 2020
470a714
updating tests and data loading protocol
crvernon May 11, 2020
d705643
working inheritance
crvernon May 11, 2020
1a047fe
liberate pm data loader; set test
crvernon May 12, 2020
03a1c83
creating arg passing for abcd data loader
crvernon May 12, 2020
589dc01
working on test validation for pm pet
crvernon May 12, 2020
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
8 changes: 0 additions & 8 deletions .gitattributes

This file was deleted.

10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
language: python

matrix:

include:
- python: 2.7
- python: 3.6
dist: xenial

cache: pip

install:
- pip install .
- pip install -r requirements.txt
- python setup.py -q install
- python travis_setup.py

script:
- travis_wait 35 python -m unittest discover
9 changes: 9 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
include README.md
include requirements.txt
include DISCLAIMER
include LICENSE
include docs/*.md
include docs/*.png
include xanthos/data/*.txt
include xanthos/data/*.csv
include xanthos/test/data/configs/*.ini
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Hejazi, Mohamad I <[email protected]>


# Notice
Xanthos currently supports both Python 2.7 and Python 3.3+, however future support for Python 2 is not guaranteed. This repository also uses the Git Large File Storage (LFS) extension (see https://git-lfs.github.com/ for details). Please run the following command before cloning if you do not already have Git LFS installed:
`git lfs install`.
Xanthos currently supports both Python 2.7 and Python 3.3+, however future support for Python 2 is not guaranteed. This repository no longer uses the Git Large File Storage (LFS) extension. Instead, we now have supplementary data to Xanthos archived on Zenodo. This data is automatically downloaded from our current release upon running installing Xanthos locally.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not exactly automatic, right? My understanding is that you have to run the install command. Is this the readme update you were talking about in your last comment?


# Xanthos 2 - Upgrades
With the ability to simulate historical and future global water availability on a monthly time step at a spatial resolution of 0.5 geographic degrees, Xanthos version 1.0 provided a solid foundation for continued advancements in global water dynamics science. The goal of Xanthos version 2 was to build upon previous investments by creating an accessible computing environment where core components of the model (potential evapotranspiration (PET), runoff generation, and river routing) could be interchanged or added to without having to start from scratch. Xanthos 2 utilizes a component-style architecture which enables researchers to quickly incorporate and test cutting-edge research in a stable modeling environment prebuilt with a diagnostics module. Major advancements for Xanthos 2.0 were also achieved by creating a more robust default configuration for the model that is now available to the scientific community. These advancements include the addition of: the Penman-Monteith PET module to capture the impacts of evolving land cover, the ABCD water balance module to account for groundwater recharge and discharge in runoff projections, improved water velocity considerations for the Modified River Transport Model (MRTM) routing module, a built-in differential evolution optimization module to calibrate ABCD parameters to modeled global runoff, and hydropower production assessment and potential capacity modules. The figure below demonstrates the optimization module’s ability to calibrate Xanthos 2 runoff to the complex Variable Infiltration Capacity (VIC) model runoff projections when forced by the same climate data. Xanthos can be calibrated against other land surface models and Earth system models.
Expand All @@ -40,4 +39,4 @@ Set up Xanthos using the following steps:
A detailed Wiki set up to describe how to set up a Xanthos run can be viewed here: https://github.com/JGCRI/xanthos/wiki/Tutorial-1:--Setting-up-a-Xanthos-run

# Available Modules
A detailed Wiki set up to describe available modules, as well as their associated configuration settings, can be viewed here: https://github.com/JGCRI/xanthos/wiki/Available-modules
A detailed Wiki set up to describe available modules, as well as their associated configuration settings, can be viewed here: https://github.com/JGCRI/xanthos/wiki/Available-modules
Binary file removed docs/InstallationRequirements.pdf
Binary file not shown.
Binary file modified docs/diag_basin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/flowchart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/xanthos2_to_vic_watch_basins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 0 additions & 28 deletions example/example.py

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/ReadMe_Input_Data.txt

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/accessible_water/bfi_per_basin.csv

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/climate/tasmin_watch_monthly_degc_1971_2001.npy

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/diagnostics/wbm_qestimates.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/diagnostics/wbmc_qestimates.csv

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/hydropower_actual/gridData.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/hydropower_actual/resData_1593.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/hydropower_actual/rule_curves_1593.npy

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/hydropower_actual/simulated_cap_by_country.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/elev.npy

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/gcam_ET_para.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/gcam_albedo.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/gcam_lai.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/gcam_laimax.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/gcam_laimin.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/pet/penman_monteith/lucc1901_2010_lump.npy

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/BasinNames235.txt

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/Grid_Areas_ID.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/Rgn32Names.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/basin.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/coordinates.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/country-names.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/country.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/reference/region32_grids.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/routing/mrtm/DRT_half_FDISTANCE_globe.txt

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/routing/mrtm/DRT_half_FDR_globe_bystr50.txt

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/routing/mrtm/velocity_half_degree.npy

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/runoff/abcd/pars_watch_1971_1990_decadal_lc.npy

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/runoff/gwam/Addit_water421.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/runoff/gwam/Lakes_wo_casp.csv

This file was deleted.

3 changes: 0 additions & 3 deletions example/input/runoff/gwam/soil_moisture.csv

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

73 changes: 0 additions & 73 deletions example/output/pm_abcd_mrtm_watch_1971_2001/logfile.log

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading