This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdal | |
numpy | |
ipython | |
pytest | |
rasterio | |
fiona | |
shapely | |
geopandas | |
scipy | |
pyproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Slack filter by user. | |
Splits a single slack export into multiple exports, as viewed by | |
each user. | |
Created on Mon Jan 11 15:03:45 2021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Check built-in super function to see if could be made better via PEP 3135. | |
Created on Sat Mar 20 21:23:36 2021 | |
""" | |
import ast | |
import os | |
import git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
r"""Blend two text arrays. | |
Examples | |
-------- | |
$ python blend_text_array.py \ | |
--a1-fname si_3_s4_2000_orig.rch.dat \ | |
--a2-fname topnet.rch_mean.dat \ | |
--out-fname si_3_s4_2000.rch.dat | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
r"""Convert MODFLOW Heads to raster file. | |
Examples | |
-------- | |
$ python heads_to_raster.py \ | |
--hds-fname ni_3_s4_2000.hds \ | |
--out-fname ni_hds.tif \ | |
--top-left 1492000.0 6234000.0 \ | |
--resolution 2000.0 --projection EPSG:2193 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
good = {1, 4, 7} | |
bad = {3, 6, 9} | |
neutral = {2, 8, 5} | |
re_digits = re.compile(r"([\d\:\.\,]+)") | |
re_digit = re.compile(r"\d") | |
OlderNewer