noaa-ocs-modeling / autoval

5 stars 1 forks source link

A question about running autoval v3.0 for stofs-3d-atl #5

Open yangz888 opened 5 months ago

yangz888 commented 5 months ago

Running 3.0 for stofs-3d-atl showed the following error message at the end after completing all the needed plotting/file creation steps: ... _[Info]: Creating a figure with sizes :8.0x8.0 [Time]: 2024-03-28 13:44:05.420462 UTC [Error]: failed to execute ssh -q zizang.yang.lx@localhost 'rm -rf /nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/img/.png' lost connection [Error]: failed to execute scp -q /nos/stofs.3d_nwm3_autoval_v3/outputs/www/./img/.png zizang.yang.lx@localhost:/nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/img/ [Error]: failed to execute ssh -q zizang.yang.lx@localhost 'rm -rf /nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/img/loc.png' lost connection [Error]: failed to execute scp -q /nos/stofs.3d_nwm3_autoval_v3/outputs/www/./img/loc.png zizang.yang.lx@localhost:/nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/img/ [Info]: Creating report in /nos/stofs.3d_nwm3_autoval_v3/outputs/www/index.htm this is report /nos/stofs.3d_nwm3_autoval_v3/outputs/www/ [Info]: Downloading ftp://ocsftp.ncd.noaa.gov/estofs/templates.htm/pointVal.waterlevel.htm as /nos/stofs.3d_nwm3_autoval_v3/outputs/tmp/template.htm this is created report [Time]: 2024-03-28 13:44:05.950882 UTC [Error]: failed to execute ssh -q zizang.yang.lx@localhost 'rm -rf /nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/index.htm/index.htm' lost connection [Error]: failed to execute scp -q /nos/stofs.3d_nwm3_autoval_v3/outputs/www/index.htm zizang.yang.lx@localhost:/nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/index.htm [Error]: failed to execute ssh -q zizang.yang.lx@localhost 'rm -rf /nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/stats.estofs.atl.global.cwl.csv' lost connection [Error]: failed to execute scp -q /nos/stofs.3d_nwm3_autoval_v3/outputs/work/stats.estofs.atl.global.cwl.csv zizang.yang.lx@localhost:/nos/stofs.3d_nwm3_autoval_v3/outputs/Remote/

Note that I use "user = zizang.yang.lx" in the .ini file. Question: It seems like the concerned "rm" or "scp" are about "local" files. Can we use rm/cp without involving "userID@localhost"?

Thanks!

GeorgiosBritzolakisNOAAFederal commented 5 months ago

Hi Zizang,

You need to create your private/shared keys and store them under your directory in order to make this work.

If you need guidance let me know.

Thanks,

George.

yangz888 commented 5 months ago

Thanks, George!

A question: for our purpose as described in my previous post, do we really need the invoking "userID@localhost"?" I tend to think it might be sufficient to use the "plain" rm/cp without invoking userID@localhost?

Thanks, Zizang

GeorgiosBritzolakisNOAAFederal commented 5 months ago

No you do not need to. The script is setup in a such way though that it would assume the files need to be transferred to a remote server..On Mar 28, 2024, at 2:01 PM, yangz888 @.> wrote: Thanks, George! A question: for our purpose as described in my previous post, do we really need the invoking @."?" I tend to think it might be sufficient to use the "plain" rm/cp without invoking @.***? Thanks, Zizang

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

yangz888 commented 5 months ago

@GeorgiosBritzolakisNOAAFederal Thanks, George!