Skip to content

AMWG tables are not getting proper data cleaning #423

@justin-richling

Description

@justin-richling

ADF run type

Model vs. Model

What happened?

Currently the AMWG tables are being loaded via xarray on the raw time series files and thus are not getting the associated scale factor/offset and new units from the variable defaults yaml file. Therefore the tables are not reflecting the desired quantities.

This data should be coming from the built-in utilities that lib/adf_dataset.py provide that apply these factors.

A second bug that has been overlooked is there is no time bounds fix for the older CAM h0 time series files, so these values are being incorrectly averaged.

ADF Hash you are using

e027726

What machine were you running the ADF on?

CISL machine

What python environment were you using?

Other (please explain below)

Extra info

Running with conda env npl-2024a

Metadata

Metadata

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