Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
modified the Python to create copies of all "surface_*.dat" files in the 'rego' folder
  • Loading branch information
Austin Blevins committed Mar 27, 2023
1 parent 2d31d0d commit f2d5551
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions python/ctem/ctem/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ def __init__(self, param_file="ctem.in", isnew=True):
'testprof' : 'testprofile.dat',
'craterscale' : 'craterscale.dat',
'craterlist' : 'craterlist.dat',
'sfdfile' : 'production.dat'
'sfdfile' : 'production.dat',
'distfrac' : 'surface_distfrac.dat',
'ejm' : 'surface_ejm.dat',
'ejmf' : 'surface_ejmf.dat',
'meltdist' : 'surface_meltdist.dat',
'meltfrac' : 'surface_meltfrac.dat'
}
if self.user['sfdfile'] is not None: # Override the default sfdfile name if the user supplies an alternative
self.output_filenames['sfdfile'] = self.user['sfdfile']
Expand Down Expand Up @@ -331,7 +336,7 @@ def process_output(self):
self.redirect_outputs(['tcum'], 'dist')
self.redirect_outputs(['impmass'], 'misc')
if (self.user['saverego'].upper() == 'T') :
self.redirect_outputs(['stack','rego','age','melt','comp'], 'rego')
self.redirect_outputs(['stack','rego','age','melt','comp','distfrac','ejm','ejmf','meltdist','meltfrac'], 'rego')



Expand Down

0 comments on commit f2d5551

Please sign in to comment.