Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should GARD clobber existing output files? #75

Open
jhamman opened this issue Sep 5, 2019 · 1 comment
Open

Should GARD clobber existing output files? #75

jhamman opened this issue Sep 5, 2019 · 1 comment

Comments

@jhamman
Copy link

jhamman commented Sep 5, 2019

Would it make sense to have GARD clobber existing output files? I recently ran a GARD simulation that took 4.5 hours, just to have it error when the simulation went to write the output...

 ---------------------------------------------------
            Time profiling information
 ---------------------------------------------------
 Total Time :       593774  s  (CPU time)
 Total Time :        16489  s (wall clock)
 ---------------------------------------------------
 Allocation :            0 %
 Data Init  :            0 %
 GeoInterp  :            0 %
 Transform  :            0 %
 Analog     :           20 %
 Regression :            3 %
 Log.Regres :           77 %
 Log.Analog :            0 %
 ---------------------------------------------------
 Parallelization overhead
 Residual   :            0 %
 ---------------------------------------------------
 ==========================================

 Writing output
 NetCDF: String match to name in use
 /gpfs/flash/jhamman/GARD_downscaling_20190423/NCAR_WRF_50km/analog_regression_3/19510101-19821231/gard_output.analog_regression_3.NCAR_WRF_50km.noresm.hist.19510101-19821231.pcp.nc:pcp

Perhaps there are actually two options here. 1) GARD should error error early if an output file already exists or 2) GARD should clobber the existing output file.

@gutmann - thoughts on how this should be handled?

@gutmann
Copy link
Member

gutmann commented Sep 10, 2019

yes, clobbering might be easiest, I think it used to, I'm not sure why that got dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants