Skip to content

Commit

Permalink
Fixed more incorrect data paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Jun 27, 2024
1 parent 3622242 commit 2c01fc2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/test_agg_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,15 @@ def test_ecnt():



pytest.mark.skip("not yet finished")
def test_total_dir():
""" The TOTAL_DIR column was added to the VL1L2, VAL1L2, and VCNT linetypes.
Verify that when the util.utils.get_total_dir_values is called instead of
util.utils.get_total_values, the calculated total values are what is expected.
"""
vl1l2_filename = '.data/point_stat/point_stat_GRIB2_SREF_GDAS_150000L_20120409_120000V_vl1l2.txt'
val1l2_filename = '.data/point_stat/met_v12/point_stat_GRIB1_NAM_GDAS_MASK_SID_120000L_20120409_120000V_val1l2.txt'
vcnt_filename = '.data/point_stat/met_v12/point_stat_GRIB2_NAM_NDAS_120000L_20120409_120000V_vcnt.txt'
vl1l2_filename = './data/point_stat/point_stat_GRIB2_SREF_GDAS_150000L_20120409_120000V_vl1l2.txt'
val1l2_filename = './data/point_stat/met_v12/point_stat_GRIB1_NAM_GDAS_MASK_SID_120000L_20120409_120000V_val1l2.txt'
vcnt_filename = './data/point_stat/met_v12/point_stat_GRIB2_NAM_NDAS_120000L_20120409_120000V_vcnt.txt'

vl1l2_df = pd.read_csv(vl1l2_filename, sep='\s+')
val1l2_df = pd.read_csv(val1l2_filename, sep='\s+')
Expand Down

0 comments on commit 2c01fc2

Please sign in to comment.