Remote file access

From: gibies george <gibiesgeorge_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 24 2010 - 04:38:14 MDT

Hello NCL users.

I have a dataset kept in a remote server. I would like to access it using
NCL in my pc and get the output plot saved at a folder in my pc. I tried the
following script.

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
begin

file1= addfile("sftp ....usrid....@
....ipaddress....:/.....path....../.......filename.nc", "r")

......................................................................
...............analysis script .........................
......................................................................

end

But it shows an error message as follows.

fatal:_NclCreateFile: Requested file does not exist as (sftp ....usrid....@
....ipaddress....:/.....path....../.......filename.nc) or as (sftp
....usrid....@....ipaddress....:/.....path....../.......filename), can't add
file

Can anybody suggest a solution for this problem ?

Thanking you in Advance.

Gibies George,CSIR-RF,
Climate and Global Modelling Division,
Indian Institute of Tropical Meteorology,
Dr. Homi Bhabha Road,
NCL (P. O.), Pashan,
Pune 411008, India.

http://sites.google.com/site/gibiesge/

Think about the environment. Please don't print this e-mail unless it is
necessary.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 24 04:38:21 2010

This archive was generated by hypermail 2.1.8 : Thu Jun 24 2010 - 14:10:27 MDT