Skip to content

Quiet loud logging messages during basic runs. #13

@brews

Description

@brews

Running through the basic README example in github.com/climateimpactlab/dscim-epa, we get lots of hard-to-read and obtuse messages printed to STDOUT (e.g. [1.016010255, 9.149608e-05] 2020 CAMEL_m1_c0.20 ), at least to my naieve eye. . Some of these look like output from past debugging (e.g. Subsetting on {} keys. ).

It would be great if we could switch some of these from INFO to DEBUG, remove the messages, or clarify the output. It's definitely helpful to see some messages as the program runs.

Here is the terminal output from my last run:

    ____  _____ ____________  ___
   / __ \/ ___// ____/  _/  |/  /
  / / / /\__ \/ /    / // /|_/ / 
 / /_/ /___/ / /____/ // /  / /  
/_____//____/\____/___/_/  /_/   
                                 

[?] Select sector: CAMEL
 > CAMEL
   AMEL
   Coastal
   Agriculture
   Mortality
   Energy
   Labor

[?] Select [eta, rho]: 
 > X (1.5% target) [1.016010255, 9.149608e-05]
   X (2.0% target) [1.244459066, 0.00197263997]
   X (2.5% target) [1.421158116, 0.00461878399]
   o (3.0% target) [1.567899395, 0.00770271076]

[?] Select pulse years: 
 > X 2020
   X 2030
   X 2040
   X 2050
   X 2060
   X 2070
   X 2080

[?] Select valuation type: Global
 > Global
   Domestic

[[1.016010255, 9.149608e-05], [1.244459066, 0.00197263997], [1.421158116, 0.00461878399]]
['CAMEL_m1_c0.20']
[2020, 2030, 2040, 2050, 2060, 2070, 2080]
False
[1.016010255, 9.149608e-05] 2020 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.016010255, 9.149608e-05] 2030 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.016010255, 9.149608e-05] 2040 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.016010255, 9.149608e-05] 2050 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.016010255, 9.149608e-05] 2060 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.016010255, 9.149608e-05] 2070 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.016010255, 9.149608e-05] 2080 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2020 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2030 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2040 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2050 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2060 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2070 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.244459066, 0.00197263997] 2080 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2020 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2030 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2040 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2050 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2060 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2070 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
[1.421158116, 0.00461878399] 2080 CAMEL_m1_c0.20
Subsetting on {} keys.
Subsetting on {} keys.
Global consumption found up to 2300.
SCCs are available in /Users/bmalevich/Projects/dscim-epa/outputs/CAMEL_m1_c0.20/full_order_uncollapsed_sccs_risk_aversion.nc4
Full combined results are available in /Users/bmalevich/Projects/dscim-epa/outputs/CAMEL_m1_c0.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions