Skip to content

S2S plots - issue with "NoneType" object error #1790

@karsenau

Description

@karsenau

S2Splots – plot_weekly_anom.py - line 100, 126: 
 
Traceback (most recent call last): 
  File "/discover/nobackup/projects/ghilis/karsenau/LISF_7.7/lis/utils/usaf/S2S//ghis2s/s2splots/plot_weekly_anom.py", line 126, in  
    plot_anoms(fcst_year, fcst_mon, cwd, config, 'ARCTIC', 'ANOM') 
  File "/discover/nobackup/projects/ghilis/karsenau/LISF_7.7/lis/utils/usaf/S2S//ghis2s/s2splots/plot_weekly_anom.py", line 100, in plot_anoms 
    min_val=anom_minmax[0], max_val=anom_minmax[1], 
            ~~~~~~~~~~~^^^ 
TypeError: 'NoneType' object is not subscriptable 
srun: error: borgj007: task 0: Exited with exit code 1

Target fix for LISV7.8

@smahanam @jvgeiger

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions