Permalink
Browse files

#1273 files and links updated

  • Loading branch information...
carlcrott committed Mar 19, 2013
1 parent 95ac580 commit 7b7d56fdf4c577fa14d65fcf81c677f5a4bf0633
Showing with 31 additions and 13 deletions.
  1. +31 −13 app/views/maps/location_yields.html.erb
@@ -23,7 +23,7 @@
['Yield (Mg/ha)','',{'tw':'0','sb':'Yield (Mg/ha)'},
['Miscanthus','',{'tw':'0','sb':'Miscanthus'},
['County', '<%= root_path %>temp_models/miscanthus_yield_county.csv' ,{'tw':'0','sb':'County'}],
['Gridded', '<%= root_path %>temp_models/miscanthus_yield_grid.csv' ,{'tw':'0','sb':'Gridded'}],
['Gridded', '<%= root_path %>temp_models/miscanthus_yield_grid.csv' ,{'tw':'0','sb':'Gridded'}]
],
['Switchgrass','',{'tw':'0','sb':'Switchgrass'},
['County', '<%= root_path %>temp_models/switchgrass_yield_county.csv' ,{'tw':'0','sb':'County'}],
@@ -38,6 +38,9 @@
],
['Poplar','',{'tw':'0','sb':'Poplar'},
['Gridded', '<%= root_path %>temp_models/poplar_yield_grid.csv' ,{'tw':'0','sb':'Gridded'}]
],
['All','',{ 'tw':'0','sb':'Poplar'},
['Location Yield','<%= root_path %>temp_models/location_yields.csv' ,{'tw':'0','sb':'Location'}]
]
]
];
@@ -63,35 +66,45 @@

<br />


<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<td>


<script type="text/javascript">
var download_evapotranspiration_MENU_ITEMS = [
['Evapotranspiration (mm/y)','',{'tw':'0','sb':''Evapotranspiration (mm/y)'},
var download_evapo_MENU_ITEMS = [
['Evapotranspiration ','',{'tw':'0','sb':'Evapotranspiration'},
['Miscanthus','',{'tw':'0','sb':'Miscanthus'},
['County', '<%= root_path %>temp_models/miscanthus_evapotranspiration_county.csv' ,{'tw':'0','sb':'County'}],
['Gridded', '<%= root_path %>temp_models/miscanthus_evapotranspiration_grid.csv' ,{'tw':'0','sb':'Gridded'}],
['Gridded', '<%= root_path %>temp_models/miscanthus_evapotranspiration_grid.csv' ,{'tw':'0','sb':'Gridded'}]
],
['Switchgrass','',{'tw':'0','sb':'Switchgrass'},
['Gridded', '<%= root_path %>temp_models/switchgrass_evapotranspiration_grid.csv' ,{'tw':'0','sb':'Gridded'}]
],
['Cornstover','',{'tw':'0','sb':'Cornstover'},
['County', '<%= root_path %>temp_models/switchgrass_evapotranspiration_county.csv' ,{'tw':'0','sb':'County'}],
['Gridded', '<%= root_path %>temp_models/switchgrass_evapotranspiration_grid.csv' ,{'tw':'0','sb':'Gridded'}]
]
]
];
</script>


<div style="position:relative; top:0px; left:0px; min-height:26px;">
<div style="position:absolute; top:0px; width: 200px; height:26px;">
<script type="text/javascript">
new menu (download_evapotranspiration_MENU_ITEMS, [{height:26,width:200,block_top:0,block_left:0,top:0,left:155,hide_delay:600,expd_delay:100,css:{outer:["topmenu_l0oout","topmenu_l0oover"],inner:["topmenu_l0iout","topmenu_l0iover"]}},{height:26,width:155,block_top:26,block_left:0,top:26,left:0,css:{outer:["topmenu_l1oout","topmenu_l1oover"],inner:["topmenu_l1iout","topmenu_l1iover"]}},{block_top:0,block_left:155}])
new menu (download_evapo_MENU_ITEMS, [{height:26,width:200,block_top:0,block_left:0,top:0,left:155,hide_delay:600,expd_delay:100,css:{outer:["topmenu_l0oout","topmenu_l0oover"],inner:["topmenu_l0iout","topmenu_l0iover"]}},{height:26,width:155,block_top:26,block_left:0,top:26,left:0,css:{outer:["topmenu_l1oout","topmenu_l1oover"],inner:["topmenu_l1iout","topmenu_l1iover"]}},{block_top:0,block_left:155}])
</script>
</div>
</div>
</td>
</tr>
</table>



<br />
<br />

<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
@@ -100,17 +113,22 @@
var download_cost_MENU_ITEMS = [
['Production Cost (USD/Mt)','',{'tw':'0','sb':'Production Cost (USD/Mt)'},
['Miscanthus','',{'tw':'0','sb':'Miscanthus'},
['County', '<%= root_path %>temp_models/miscanthus_cost_county.csv' ,{'tw':'0','sb':'County'}],
['Gridded', '<%= root_path %>temp_models/miscanthus_cost_grid.csv' ,{'tw':'0','sb':'Gridded'}],
['County', '<%= root_path %>temp_models/miscanthus_cost_county.csv' ,{'tw':'0','sb':'County'}]
],
['Switchgrass','',{'tw':'0','sb':'Switchgrass'},
['County', '<%= root_path %>temp_models/switchgrass_cost_county.csv' ,{'tw':'0','sb':'County'}],
['Gridded', '<%= root_path %>temp_models/switchgrass_cost_grid.csv' ,{'tw':'0','sb':'Gridded'}]
['County', '<%= root_path %>temp_models/switchgrass_cost_county.csv' ,{'tw':'0','sb':'County'}]
],
['EnergyCane','',{'tw':'0','sb':'EnergyCane'},
['County', '<%= root_path %>temp_models/energycane_cost_county.csv' ,{'tw':'0','sb':'County'}],
['Gridded', '<%= root_path %>temp_models/energycane_cost_grid.csv' ,{'tw':'0','sb':'Gridded'}]
]
['County', '<%= root_path %>temp_models/energycane_cost_county.csv' ,{'tw':'0','sb':'County'}]
],
['Cornstover','',{'tw':'0','sb':'Cornstover'},
['County', '<%= root_path %>temp_models/cornstover_cost_county.csv' ,{'tw':'0','sb':'County'}]
],
['All','',{'tw':'0','sb':'All'},
['Yield and County','<%= root_path %>temp_models/all_yield_and_cost_county.csv',{'tw':'0','sb':'YieldAndCounty'}],
['Least Cost','<%= root_path %>temp_models/least_cost_crop_county.csv' ,{'tw':'0','sb':'Least'}],
['Point Output','<%= root_path %>temp_models/point_output.csv' ,{'tw':'0','sb':'Point'}]
]
]
];
</script>

0 comments on commit 7b7d56f

Please sign in to comment.