Skip to content

key_error fro specific mass #50

@etrujil

Description

@etrujil

This is the traceback:

Traceback (most recent call last):
File "/code/awsm/scripts/awsm", line 27, in
run()
File "/code/awsm/scripts/awsm", line 24, in run
run_awsm(configFile)
File "/usr/local/lib/python3.6/dist-packages/awsm-0.9.26-py3.6.egg/awsm/framework/framework.py", line 895, in run_awsm
a.run_ipysnobal()
File "/usr/local/lib/python3.6/dist-packages/awsm-0.9.26-py3.6.egg/awsm/framework/framework.py", line 486, in run_ipysnobal
smrf_ipy.run_ipysnobal(self)
File "/usr/local/lib/python3.6/dist-packages/awsm-0.9.26-py3.6.egg/awsm/interface/smrf_ipysnobal.py", line 107, in run_ipysnobal
myawsm.pysnobal_output_vars)
File "/usr/local/lib/python3.6/dist-packages/awsm-0.9.26-py3.6.egg/awsm/interface/pysnobal_io.py", line 332, in output_timestep
options['output']['snow'].variables[key][index, :] = snow[key]
KeyError: 'specific_mass'
Makefile:9: recipe for target 'run_awsm' failed


This is what the lines in the config file look like:

################################################################################

System parameters

################################################################################

[awsm system]
log_to_file: True
log_level: debug
ithreads: 24
variables: thickness, snow_density, specific_mass, snowmelt, swi, cold_content
output_frequency: 24
daily_folders: False
run_for_nsteps: None
snow_name: snow
em_name: em

@robertson-mark @micahjohnson150

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions