Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Buddenberg
gcis-py-client
Commits
2cd9d1e4
Commit
2cd9d1e4
authored
Sep 18, 2014
by
abuddenberg
Browse files
Added support for figures 4.4, 10.3, and 34.9
parent
64d30ff4
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/sync_figures
View file @
2cd9d1e4
...
...
@@ -52,6 +52,7 @@ sync_metadata_tree = {
(
'energy-supply-and-use'
,
[
(
'/metadata/figures/3082'
,
'paths-of-hurricanes-katrina-and-rita-relative-to-oil-and-gas-production-facilities'
),
# 4.1
(
'/metadata/figures/3292'
,
'cooling-degree-days'
),
# 4.3
(
'/metadata/figures/3291'
,
'projected-changes-in-seasonal-precipitation'
),
# 4.4
]),
#Chapter 5
(
'transportation'
,
[
...
...
@@ -93,6 +94,7 @@ sync_metadata_tree = {
(
'/metadata/figures/2601'
,
'energy-water-land-and-climate-interactions'
),
# 10.1
(
'/metadata/figures/2917'
,
'the-columbia-river-basin-land-use-and-land-cover'
),
# 10.10
(
'/metadata/figures/2410'
,
'coasttocoast-100degree-days-in-2011'
),
# 10.2
(
'/metadata/figures/2596'
,
'texas-summer-2011-record-heat-and-drought'
),
# 10.3
(
'/metadata/figures/3158'
,
'projected-landuse-intensity-in-2030'
),
# 10.6
(
'/metadata/figures/2986'
,
'hydraulic-fracturing-and-water-use'
),
# 10.7
(
'/metadata/figures/2916'
,
'renewable-energy-and-land-use'
),
# 10.8
...
...
@@ -255,6 +257,7 @@ sync_metadata_tree = {
(
'/metadata/figures/2635'
,
'potential-effects-of-climate-change'
),
# 34.25
(
'/metadata/figures/2791'
,
'two-us-emissions-reduction-pathways'
),
# 34.27
(
'/metadata/figures/3134'
,
'temperature-trends-1900-2012'
),
# 34.8
(
'/metadata/figures/3099'
,
'decade-scale-changes-in-average-temperature-for-us-regions'
)
# 34.9
])
])
}
...
...
@@ -274,7 +277,7 @@ images_with_multiple_figures = {
def
main
():
print
gcis
.
test_login
()
# sync_dataset_metadata(gcis, webform.get_aggregated_datasets())
sync
(
replace
=
Fals
e
)
sync
(
replace
=
Tru
e
)
# cleanup_after_replace()
# for ds in gcis.get_dataset_list().json():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment