-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added sources for Mojave pack; generalized process_usgs_source function * Bugfix: imposm removal was broken * Fixed bad lithology; added tests to check lithologies in CSV * Added ofr2011_1044 to Mojave pack * Added sim3109 to Mojave pack * Fixed problems with citations data; added test to verify citations data
- Loading branch information
Showing
40 changed files
with
985 additions
and
222 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
""" | ||
Preliminary Surficial Geologic Map of the Newberry Springs 30’ x 60’ | ||
Quadrangle, California | ||
""" | ||
|
||
from ofr2011_1044 import run | ||
|
||
if __name__ == "__main__": | ||
run() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
""" | ||
Preliminary Surficial Geologic Map of the Newberry Springs 30’ x 60’ | ||
Quadrangle, California | ||
""" | ||
|
||
import os | ||
import re | ||
|
||
from util.rocks import process_usgs_source | ||
from util.proj import NAD27_UTM11_PROJ4 | ||
|
||
|
||
def run(): | ||
process_usgs_source( | ||
base_path=os.path.realpath(__file__), | ||
url="https://pubs.usgs.gov/of/2011/1044/OFR2011-1044_database.zip", | ||
extracted_file_path="OFR2011-1044_database/OFR2011-1044.e00", | ||
skip_polygonize_arcs=True, | ||
srs=NAD27_UTM11_PROJ4, | ||
use_unzip=True, | ||
# This dataset specifies units using codes for surficial rocks AND | ||
# basement rocks. Here we're just using the stuff at the surface. | ||
join_col_modifier=lambda ptype: re.split(r'[/+-]', ptype)[0], | ||
metadata_csv_path=os.path.join( | ||
os.path.dirname(os.path.realpath(__file__)), | ||
"units.csv" | ||
) | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[ | ||
{ | ||
"id": "http://zotero.org/users/local/b90sdi4a/items/UU38RG2Y", | ||
"type": "map", | ||
"publisher": "U.S. Geological Survey", | ||
"scale": "1:100,000", | ||
"title": "Preliminary Surficial Geologic Map of the Newberry Springs 30' x 60' Quadrangle, California", | ||
"URL": "https://pubs.usgs.gov/of/2011/1044/", | ||
"contributor": [ | ||
{ | ||
"family": "Phelps", | ||
"given": "G.A." | ||
}, | ||
{ | ||
"family": "Bedford", | ||
"given": "D.R." | ||
}, | ||
{ | ||
"family": "Lidke", | ||
"given": "D.J." | ||
}, | ||
{ | ||
"family": "Miller", | ||
"given": "D.M." | ||
}, | ||
{ | ||
"family": "Schmidt", | ||
"given": "K.M." | ||
} | ||
], | ||
"accessed": { | ||
"date-parts": [ | ||
[ | ||
"2023", | ||
3, | ||
18 | ||
] | ||
] | ||
}, | ||
"issued": { | ||
"date-parts": [ | ||
[ | ||
"2012" | ||
] | ||
] | ||
} | ||
} | ||
] |
Oops, something went wrong.