Commit fdce208c authored by abuddenberg's avatar abuddenberg
Browse files

Added support for 11 more figures

parent 4066eb38
...@@ -7,8 +7,8 @@ from collections import OrderedDict ...@@ -7,8 +7,8 @@ from collections import OrderedDict
webform = WebformClient('http://resources.assessment.globalchange.gov', webform_token) webform = WebformClient('http://resources.assessment.globalchange.gov', webform_token)
gcis = GcisClient('http://data.gcis-dev-front.joss.ucar.edu', *gcis_dev_auth) # gcis = GcisClient('http://data.gcis-dev-front.joss.ucar.edu', *gcis_dev_auth)
# gcis = GcisClient('http://data-stage.globalchange.gov', *gcis_stage_auth) gcis = GcisClient('http://data-stage.globalchange.gov', *gcis_stage_auth)
sync_metadata_tree = { sync_metadata_tree = {
#Reports #Reports
...@@ -46,6 +46,8 @@ sync_metadata_tree = { ...@@ -46,6 +46,8 @@ sync_metadata_tree = {
#Chapter 3 #Chapter 3
('water-resources', [ ('water-resources', [
('/metadata/figures/2676', 'projected-changes-in-snow-runoff-and-soil-moisture'), # 3.1 ('/metadata/figures/2676', 'projected-changes-in-snow-runoff-and-soil-moisture'), # 3.1
('/metadata/figures/3573', 'projected-changes-in-water-withdrawals'), # 3.11
('/metadata/figures/3171', 'streamflow-projections-for-river-basins-in-the-western-us'), # 3.4
('/metadata/figures/3303', 'trends-in-flood-magnitude'), # 3.5 ('/metadata/figures/3303', 'trends-in-flood-magnitude'), # 3.5
]), ]),
#Chapter 4 #Chapter 4
...@@ -64,8 +66,11 @@ sync_metadata_tree = { ...@@ -64,8 +66,11 @@ sync_metadata_tree = {
]), ]),
#Chapter 6 #Chapter 6
('agriculture', [ ('agriculture', [
('/metadata/figures/2867', 'agricultural-distribution'), #6.2
('/metadata/figures/3582', 'crop-yield-response-to-warming-in-californias-central-valley'), #6.4 ('/metadata/figures/3582', 'crop-yield-response-to-warming-in-californias-central-valley'), #6.4
('/metadata/figures/2691', 'projected-changes-in-key-climate-variables-affecting-agricultural-productivity'), # 6.5 ('/metadata/figures/2691', 'projected-changes-in-key-climate-variables-affecting-agricultural-productivity'), # 6.5
('/metadata/figures/3081', 'reduced-winter-chilling-projected-for-california'), # 6.6
('/metadata/figures/2871', 'water-and-soil'), # 6.7
('/metadata/figures/2872', 'drainage-tiles'), # 6.8 ('/metadata/figures/2872', 'drainage-tiles'), # 6.8
]), ]),
#Chapter 7 #Chapter 7
...@@ -74,11 +79,13 @@ sync_metadata_tree = { ...@@ -74,11 +79,13 @@ sync_metadata_tree = {
('/metadata/figures/2977', 'effectiveness-of-forest-management-in-reducing-wildfire-risk'), # 7.2 ('/metadata/figures/2977', 'effectiveness-of-forest-management-in-reducing-wildfire-risk'), # 7.2
('/metadata/figures/2978', 'forest-vulnerability-to-changing-climate'), # 7.3 ('/metadata/figures/2978', 'forest-vulnerability-to-changing-climate'), # 7.3
('/metadata/figures/2985', 'forests-can-be-a-source--or-a-sink--for-carbon'), # 7.4 ('/metadata/figures/2985', 'forests-can-be-a-source--or-a-sink--for-carbon'), # 7.4
('/metadata/figures/3151', 'location-of-potential-forestry-biomass-resources'), # 7.7
('/metadata/figures/3130', 'public-and-private-forestlands'), # 7.8 ('/metadata/figures/3130', 'public-and-private-forestlands'), # 7.8
]), ]),
#Chapter 8 #Chapter 8
('ecosystems', [ ('ecosystems', [
('/metadata/figures/3580', 'water-supplies-projected-to-decline'), # 8.1
('/metadata/figures/2576', 'the-aftermath-of-hurricanes'), # 8.2 ('/metadata/figures/2576', 'the-aftermath-of-hurricanes'), # 8.2
('/metadata/figures/2456', 'adaptation-planning-and-implementation-framework'), # 8.3 ('/metadata/figures/2456', 'adaptation-planning-and-implementation-framework'), # 8.3
('/metadata/figures/3574', 'biological-responses-to-climate-change'), # 8.4 ('/metadata/figures/3574', 'biological-responses-to-climate-change'), # 8.4
...@@ -86,6 +93,7 @@ sync_metadata_tree = { ...@@ -86,6 +93,7 @@ sync_metadata_tree = {
#Chapter 9 #Chapter 9
('human-health', [ ('human-health', [
('/metadata/figures/3162', 'projected-climate-change-worsens-asthma'), # 9.1 ('/metadata/figures/3162', 'projected-climate-change-worsens-asthma'), # 9.1
('/metadata/figures/3085', 'projected-changes-in-tick-habitat'), # 9.5
('/metadata/figures/2896', 'heavy-downpours-disease'), # 9.7 ('/metadata/figures/2896', 'heavy-downpours-disease'), # 9.7
('/metadata/figures/2897', 'harmful-bloom-of-algae'), # 9.8 ('/metadata/figures/2897', 'harmful-bloom-of-algae'), # 9.8
]), ]),
...@@ -123,6 +131,7 @@ sync_metadata_tree = { ...@@ -123,6 +131,7 @@ sync_metadata_tree = {
('/metadata/figures/2662', 'rural-counties'), # 14.1 ('/metadata/figures/2662', 'rural-counties'), # 14.1
('/metadata/figures/2661', 'economic-dependence-varies-by-region'), # 14.2 ('/metadata/figures/2661', 'economic-dependence-varies-by-region'), # 14.2
('/metadata/figures/3306', 'growing-season-lengthens'), # 14.3 ('/metadata/figures/3306', 'growing-season-lengthens'), # 14.3
('/metadata/figures/3087', 'climate-change-impacts-on-summertime-tourism'), # 14.4
('/metadata/figures/2904', 'many-rural-areas-are-losing-population'), # 14.5 ('/metadata/figures/2904', 'many-rural-areas-are-losing-population'), # 14.5
]), ]),
# Chapter 15 # Chapter 15
...@@ -142,6 +151,8 @@ sync_metadata_tree = { ...@@ -142,6 +151,8 @@ sync_metadata_tree = {
]), ]),
#Chapter 17 #Chapter 17
('southeast', [ ('southeast', [
('/metadata/figures/3577', 'billion-dollar-weatherclimate-disasters'), # 17.1
('/metadata/figures/3108', 'shrinking-lands-for-tribal-communities'), # 17.2
('/metadata/figures/2562', 'southeast-temperature-observed-and-projected'), # 17.3 ('/metadata/figures/2562', 'southeast-temperature-observed-and-projected'), # 17.3
('/metadata/figures/2998', 'projected-change-in-number-of-days-over-95-f'), # 17.4 ('/metadata/figures/2998', 'projected-change-in-number-of-days-over-95-f'), # 17.4
('/metadata/figures/2999', 'projected-change-in-number-of-nights-below-32f'), # 17.5 ('/metadata/figures/2999', 'projected-change-in-number-of-nights-below-32f'), # 17.5
......
...@@ -561,8 +561,8 @@ class Parent(Gcisbase): ...@@ -561,8 +561,8 @@ class Parent(Gcisbase):
'Effects of Climatic Variability and Change on Forest Ecosystems: A Comprehensive Science Synthesis for the U.S. Forest Sector': 'usfs-pnw-gtr-870', 'Effects of Climatic Variability and Change on Forest Ecosystems: A Comprehensive Science Synthesis for the U.S. Forest Sector': 'usfs-pnw-gtr-870',
'Future of America\'s Forests and Rangelands Forest Service. 2010 Resources Planning Act Assessment': 'usfs-gtr-wo-87', 'Future of America\'s Forests and Rangelands Forest Service. 2010 Resources Planning Act Assessment': 'usfs-gtr-wo-87',
'Regional Climate Trends and Scenarios for the U.S. National Climate Assessment. Part 5. Climate of the Southwest U.S.': 'noaa-techreport-nesdis-142-5', 'Regional Climate Trends and Scenarios for the U.S. National Climate Assessment. Part 5. Climate of the Southwest U.S.': 'noaa-techreport-nesdis-142-5',
'Regional Climate Trends and Scenarios for the U.S. National Climate Assessment. Part 7. Climate of Alaska': 'noaa-techreport-nesdis-142-7' 'Regional Climate Trends and Scenarios for the U.S. National Climate Assessment. Part 7. Climate of Alaska': 'noaa-techreport-nesdis-142-7',
'Reclamation, SECURE Water Act Section 9503(c) - Reclamation Climate Change and Water, Report to Congress': 'usbr-secure-2011'
}, },
...@@ -582,7 +582,11 @@ class Parent(Gcisbase): ...@@ -582,7 +582,11 @@ class Parent(Gcisbase):
'Climate Change Response Framework - Northwoods': '267378f7-278b-4201-8ffa-a820f5a694b8', 'Climate Change Response Framework - Northwoods': '267378f7-278b-4201-8ffa-a820f5a694b8',
'NWHI Maps and Publications': 'e6438f11-85f4-4c29-abb5-b09efa3279b2', 'NWHI Maps and Publications': 'e6438f11-85f4-4c29-abb5-b09efa3279b2',
'The Cryosphere Today Compare Daily Sea Ice': 'e4a9eb6a-9421-42c3-94b1-47caf588d41d', 'The Cryosphere Today Compare Daily Sea Ice': 'e4a9eb6a-9421-42c3-94b1-47caf588d41d',
'NASA Earth Observatory Visualizing the Sea Ice Minimum': '71b4c19e-42da-4f15-99d2-7c7746d8eaf2' 'NASA Earth Observatory Visualizing the Sea Ice Minimum': '71b4c19e-42da-4f15-99d2-7c7746d8eaf2',
'2007 Census Ag Atlas Maps: Crops and Plants': 'f39c0146-137f-4668-b401-5972fe40208d',
'NRCS Photo Gallery': '13da595f-e0f0-4ad0-b87b-44ce3897cd30',
'Billion-Dollar Weather/Climate Disasters: Mapping': 'd70d7a59-45d7-4b38-baf2-86a7fcf12da3',
'Before and After: 50 Years of Rising Tides and Sinking Marshes': '6778161f-897b-4f89-942f-8ad2f01f11a0'
}, },
...@@ -604,7 +608,8 @@ class Parent(Gcisbase): ...@@ -604,7 +608,8 @@ class Parent(Gcisbase):
'A focus on climate during the past 100 years in "Climate Variability and Extremes during the Past 100 Years"': '998aa4c2-9f0d-478c-b7bb-19e383c628a9' 'A focus on climate during the past 100 years in "Climate Variability and Extremes during the Past 100 Years"': '998aa4c2-9f0d-478c-b7bb-19e383c628a9'
}, },
'generic': { 'generic': {
'Verrazano Narrows Storm Surge Barrier: Against the Deluge: Storm Barriers to Protect New York City, March 31st 2009': '01d188d1-636b-49e6-af43-c1544cee9319' 'Verrazano Narrows Storm Surge Barrier: Against the Deluge: Storm Barriers to Protect New York City, March 31st 2009': '01d188d1-636b-49e6-af43-c1544cee9319',
'National Association of Recreation Resource Planners Annual Conference': 'national-association-of-recreation-resource-planners-annual-conference-2005'
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment