1. 11 Feb, 2020 3 commits
  2. 08 Feb, 2020 1 commit
  3. 01 Feb, 2020 1 commit
  4. 22 Jan, 2020 2 commits
    • Denton Gentry's avatar
      FaIR animation: use fraction of total temperature. · 2cb2defd
      Denton Gentry authored
      FaIR is non-linear. The peak temperature and time spent at elevated
      temperature are both factors in the model, accounting for feedback
      effects.
      
      Therefore, calculating the temperature impact of the emissions reduction
      from each sector one at a time has less impact on temperature than the
      that of all sectors together would. The whole is greater than the sum
      of the parts.
      
      + calculate the overall temperature impact of all sectors together
      + apportion a fraction of the temperature reduction to each sector,
        based on the fraction of emissions reduction it achieves.
      2cb2defd
    • Denton Gentry's avatar
      6b2bc540
  5. 21 Jan, 2020 1 commit
  6. 20 Jan, 2020 1 commit
    • Denton Gentry's avatar
      firstcost: remove regional costing and tests. · 5953658a
      Denton Gentry authored
      firstcost added support for computing cost per region some time
      ago. This is a reasonable idea, but it is not used by any of the
      solution models and is incomplete as only the first cost supports
      it.
      
      This should be done in the future when we're ready to use it, and
      done for keepsies across all solutions not by adding conditionals
      throughout the implementation.
      5953658a
  7. 19 Jan, 2020 2 commits
  8. 18 Jan, 2020 3 commits
  9. 16 Jan, 2020 2 commits
  10. 15 Jan, 2020 2 commits
  11. 13 Jan, 2020 1 commit
    • Denton Gentry's avatar
      Pandas 1.0.0rc0: set index names. · eda402c0
      Denton Gentry authored
      Using .set_index('Year') appears to no longer set the index
      name to'Year' in Pandas 1.0.0. Set it explicitly in test cases
      which need it.
      eda402c0
  12. 12 Jan, 2020 11 commits
  13. 11 Jan, 2020 3 commits
    • Denton Gentry's avatar
      d1080458
    • Denton Gentry's avatar
      requirements.txt: Pandas < 1.0. · df7b5a58
      Denton Gentry authored
      With Pandas 1.0, a bunch of tests are failing because the index name
      doesn't match. Stick with Pandas 0.25 for now until we can figure out
      the best way to proceed.
      
          def test_adoption_min_max_sd():
              s = 'Greenpeace AER'
              ac = advanced_controls.AdvancedControls(soln_pds_adoption_prognostication_source=s)
              ad = adoptiondata.AdoptionData(ac=ac, data_sources=g_data_sources, adconfig=g_adconfig)
              result = ad.adoption_min_max_sd(region='World')
              expected = pd.DataFrame(adoption_min_max_sd_global_list[1:],
                      columns=adoption_min_max_sd_global_list[0],
                      dtype=np.float64).set_index('Year')
              expected.index = expected.index.astype(int)
      >       pd.testing.assert_frame_equal(result, expected, check_exact=False)
      E       AssertionError: DataFrame.index are different
      E
      E       Attribute "names" are different
      E       [left]:  ['Year']
      E       [right]: [None]
      df7b5a58
    • Denton Gentry's avatar
      excel_fair: end in 2060 · 72fd16b6
      Denton Gentry authored
      Don't extend results to 2100, they're not correct.
      
      Don't output a file of emissions, we already know that.
      Only output temperature.
      72fd16b6
  14. 10 Jan, 2020 1 commit
    • Denton Gentry's avatar
      FaIR: useMultigas=False · 39f65392
      Denton Gentry authored
      The Drawdown solutions output all emissions in CO2eq, and though
      we have baseline data for other gasses we're going to go with
      multigas=False.
      39f65392
  15. 09 Jan, 2020 3 commits
    • Denton Gentry's avatar
      play_whole_field: set ggplot style · 84fecd2f
      Denton Gentry authored
      84fecd2f
    • Denton Gentry's avatar
      play_whole_field: set zorder · 9e5937ba
      Denton Gentry authored
      Make graph rendering nicer by not overwriting the graph already
      present.
      9e5937ba
    • Denton Gentry's avatar
      excel_fair_results: generate animations. · 557d3b9d
      Denton Gentry authored
      Generate animation of the impact on temperature for each sector.
      This initial commit calculates the impact of each sector individually.
      This isn't exactly correct as FaIR results are non-linear, the
      impact of the sum of all sector emissions reductions will be greater
      than the temperature impact of each sector individually.
      
      A future commit may calculate the total temperature impact and then
      apportion it by the faction of emissions reduction from each sector.
      557d3b9d
  16. 07 Jan, 2020 3 commits