NREL / buildstockbatch

Other
22 stars 14 forks source link

Fixing timestamps in Athena #418

Closed nmerket closed 1 year ago

nmerket commented 1 year ago

Fixes #411.

Pull Request Description

Changes the timestamps in the parquet files to be a second precision (which is all the more we measure). The default was nanoseconds in pandas 2. Glue/Athena will only work with milliseconds or larger.

Checklist

Not all may apply

github-actions[bot] commented 1 year ago

File Coverage
All files 85% :white_check_mark:
base.py 90% :white_check_mark:
eagle.py 77% :white_check_mark:
exc.py 57% :white_check_mark:
local.py 70% :white_check_mark:
postprocessing.py 85% :white_check_mark:
utils.py 91% :white_check_mark:
cloud/docker_base.py 0% :x:
sampler/base.py 79% :white_check_mark:
sampler/downselect.py 33% :white_check_mark:
sampler/precomputed.py 93% :white_check_mark:
sampler/residential_quota.py 61% :white_check_mark:
test/test_docker.py 33% :white_check_mark:
test/test_validation.py 97% :white_check_mark:
workflow_generator/base.py 90% :white_check_mark:
workflow_generator/commercial.py 53% :white_check_mark:
workflow_generator/residential_hpxml.py 86% :white_check_mark:

Minimum allowed coverage is 33%

Generated by :monkey: cobertura-action against cfcd34d2299a3f7df7edfd09ac163ecf357ca083