E3SM-Project / zppy

E3SM post-processing toolchain
BSD 3-Clause "New" or "Revised" License
6 stars 15 forks source link

Add TC Analysis tests #615

Closed forsyth2 closed 4 months ago

forsyth2 commented 4 months ago

Test simultaneous runs of TC Analysis.

forsyth2 commented 4 months ago

Results:

$ cd /lcrc/group/e3sm/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_1_output/test-613-v1/v3.LR.historical_0051/post/scripts
$ grep -v "OK" *status
# No errors

$ cd /lcrc/group/e3sm/ac.forsyth2/zppy_min_case_tc_analysis_simultaneous_2_output/test-613-v1/v3.LR.historical_0051/post/scripts
$ grep -v "OK" *status
RUNNING 555972
$ tail tc_analysis_1985-1986.o555972
  --out_file_format <string> ["gfdl"] (gfdl|csv|csvnohead)
------------------------------------------------------------
Parsing thresholds
..wind greater than or equal to 17.500000 at least 6 time(s)
..lat less than or equal to 40.000000 at least 6 time(s)
..lat greater than or equal to -40.000000 at least 6 time(s)
..Done
Loading candidate data
..EXCEPTION (/lcrc/group/e3sm/ac.xylar/spack_tmp/ac.xasay-davis/spack-stage/spack-stage-tempestextremes-2.2.1-duigtcufuv65xhyizj6gnikjhuj2dn65/spack-src/src/nodes/StitchNodes.cpp, Line 98) Unable to open input file "/lcrc/globalscratch/ac.forsyth2//tc-analysis_1985_1986/cyclones_v3.LR.historical_0051_1985_1986.txt"
rm: cannot remove '/lcrc/globalscratch/ac.forsyth2//tc-analysis_1985_1986/cyclones_v3.LR.historical_0051_1985_1986.txt': No such file or directory

This is a different error than in #613 though. That one was NetCDF: HDF error, not Unable to open input file

forsyth2 commented 4 months ago

The simultaneous tests pass when different subdirectories are used. I'm still not sure about the NetCDF: HDF error error specifically but if it comes up again, I'll re-open #613.