Skip to content

Commit

Permalink
Merge pull request #19 from alavin87/bug_save_realout
Browse files Browse the repository at this point in the history
Fixed bug when save_wps=yes
  • Loading branch information
cofinoa authored Jul 5, 2018
2 parents 54e9b59 + 8834b1e commit 7fee890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/wrf4g/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,9 +919,9 @@ def launch_wrapper( params ):
# The command: $ upload_file wps 1990-01-01_00:00:00
# will create in the repositore three files with the following format: wrfinput_d01_19900101T000000Z
suffix = "_" + datetime2dateiso( params.chunk_rdate )+ ".nc"
for wps_file in VCPURL( params.wps_path ).ls("wrf[lbif]*_d\d\d") :
for wps_file in VCPURL( params.wrf_run_path ).ls("wrf[lbif]*_d\d\d") :
oiring = wps_file
dest = join( params.real_rea_output_path, basename( wps_file) , suffix )
dest = join( params.real_rea_output_path, basename( wps_file) + suffix )
try:
logging.info( "Uploading '%s' file" % oiring )
os.chmod( oiring, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH )
Expand Down

0 comments on commit 7fee890

Please sign in to comment.