Skip to content

Commit

Permalink
Adding Alex's OverlandFlow Notebook (#8)
Browse files Browse the repository at this point in the history
* Update README.md

* Adding overland flow notebook from Alex
  • Loading branch information
chaedri authored May 14, 2023
1 parent 22afc06 commit 31bb427
Show file tree
Hide file tree
Showing 105 changed files with 895 additions and 0 deletions.
Binary file not shown.
8 changes: 8 additions & 0 deletions config_files_calwood/dem_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bmi-topography:
dem_type: 'SRTMGL1'
south: 40.135
north: 40.179
west: -105.353
east: -105.291
output_format: GTiff
cache_dir: "./cache_calwood"
856 changes: 856 additions & 0 deletions edited.ipynb

Large diffs are not rendered by default.

Binary file added results_calwood/flow_10080.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 added results_calwood/flow_10200.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 added results_calwood/flow_10320.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 added results_calwood/flow_10440.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 added results_calwood/flow_10560.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 added results_calwood/flow_10680.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 added results_calwood/flow_1080.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 added results_calwood/flow_10800.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 added results_calwood/flow_10920.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 added results_calwood/flow_11040.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 added results_calwood/flow_11160.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 added results_calwood/flow_11280.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 added results_calwood/flow_11400.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 added results_calwood/flow_11520.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 added results_calwood/flow_11640.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 added results_calwood/flow_11760.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 added results_calwood/flow_11880.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 added results_calwood/flow_120.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 added results_calwood/flow_1200.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 added results_calwood/flow_12000.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 added results_calwood/flow_1320.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 added results_calwood/flow_1440.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 added results_calwood/flow_1560.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 added results_calwood/flow_1680.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 added results_calwood/flow_1800.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 added results_calwood/flow_1920.png
Binary file added results_calwood/flow_2040.png
Binary file added results_calwood/flow_2160.png
Binary file added results_calwood/flow_2280.png
Binary file added results_calwood/flow_240.png
Binary file added results_calwood/flow_2400.png
Binary file added results_calwood/flow_2520.png
Binary file added results_calwood/flow_2640.png
Binary file added results_calwood/flow_2760.png
Binary file added results_calwood/flow_2880.png
Binary file added results_calwood/flow_3000.png
Binary file added results_calwood/flow_3120.png
Binary file added results_calwood/flow_3240.png
Binary file added results_calwood/flow_3360.png
Binary file added results_calwood/flow_3480.png
Binary file added results_calwood/flow_360.png
Binary file added results_calwood/flow_3600.png
Binary file added results_calwood/flow_3720.png
Binary file added results_calwood/flow_3840.png
Binary file added results_calwood/flow_3960.png
Binary file added results_calwood/flow_4080.png
Binary file added results_calwood/flow_4200.png
Binary file added results_calwood/flow_4320.png
Binary file added results_calwood/flow_4440.png
Binary file added results_calwood/flow_4560.png
Binary file added results_calwood/flow_4680.png
Binary file added results_calwood/flow_480.png
Binary file added results_calwood/flow_4800.png
Binary file added results_calwood/flow_4920.png
Binary file added results_calwood/flow_5040.png
Binary file added results_calwood/flow_5160.png
Binary file added results_calwood/flow_5280.png
Binary file added results_calwood/flow_5400.png
Binary file added results_calwood/flow_5520.png
Binary file added results_calwood/flow_5640.png
Binary file added results_calwood/flow_5760.png
Binary file added results_calwood/flow_5880.png
Binary file added results_calwood/flow_600.png
Binary file added results_calwood/flow_6000.png
Binary file added results_calwood/flow_6120.png
Binary file added results_calwood/flow_6240.png
Binary file added results_calwood/flow_6360.png
Binary file added results_calwood/flow_6480.png
Binary file added results_calwood/flow_6600.png
Binary file added results_calwood/flow_6720.png
Binary file added results_calwood/flow_6840.png
Binary file added results_calwood/flow_6960.png
Binary file added results_calwood/flow_7080.png
Binary file added results_calwood/flow_720.png
Binary file added results_calwood/flow_7200.png
Binary file added results_calwood/flow_7320.png
Binary file added results_calwood/flow_7440.png
Binary file added results_calwood/flow_7560.png
Binary file added results_calwood/flow_7680.png
Binary file added results_calwood/flow_7800.png
Binary file added results_calwood/flow_7920.png
Binary file added results_calwood/flow_8040.png
Binary file added results_calwood/flow_8160.png
Binary file added results_calwood/flow_8280.png
Binary file added results_calwood/flow_840.png
Binary file added results_calwood/flow_8400.png
Binary file added results_calwood/flow_8520.png
Binary file added results_calwood/flow_8640.png
Binary file added results_calwood/flow_8760.png
Binary file added results_calwood/flow_8880.png
Binary file added results_calwood/flow_9000.png
Binary file added results_calwood/flow_9120.png
Binary file added results_calwood/flow_9240.png
Binary file added results_calwood/flow_9360.png
Binary file added results_calwood/flow_9480.png
Binary file added results_calwood/flow_960.png
Binary file added results_calwood/flow_9600.png
Binary file added results_calwood/flow_9720.png
Binary file added results_calwood/flow_9840.png
Binary file added results_calwood/flow_9960.png
Binary file added site.jpeg
31 changes: 31 additions & 0 deletions utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
"""
utility functions used for overland flow use case
"""
import os


# installation function
def install_api_key():
home_dir = os.path.expanduser('~')
work_dir = os.getcwd()

# create Topography API key file
topo_key = input('Enter Your OpenTopography API Key: ')
topo_config_path = os.path.join(work_dir,'.opentopography.txt')

with open(topo_config_path,'w') as topo_config_file:
topo_config_file.write(topo_key)
print('OpenTopography API Key file is created at {}.'.format(topo_config_path))

# # create CDS API key file
# cds_key = input('Enter Your CDS API Key: ')
# cds_url = 'https://cds.climate.copernicus.eu/api/v2'
# cds_config_content = 'url: {} \nkey: {}'.format(cds_url, cds_key)
# cds_config_path = os.path.join(home_dir, '.cdsapirc')

# with open(cds_config_path, 'w') as cds_config_file:
# cds_config_file.write(cds_config_content)

# print('CDS API Key file is created at {}'.format(cds_config_path))


0 comments on commit 31bb427

Please sign in to comment.