From: sudipta s. <sdp...@gm...> - 2015-06-13 18:35:21
|
Hi Arulalan I am not trying to write to any file. All I am trying to do is to call the "cdutil.CLIMATOLOGY.departures" function and I get this error. I am not sure if the function internally tries to write to a location that is not accessible as a non root. On Sat, Jun 13, 2015 at 12:16 PM, Arulalan T <aru...@gm...> wrote: > Dear Sudipta Sarkar, > > On 13 June 2015 at 20:25, sudipta sarkar <sdp...@gm...> wrote: > >> Hi All, >> I installed CDAT in its usual location under /usr/local as root but now I >> am trying to use CDAT as a non-root user. When I do that I get this error >> when trying to use the command "cdutil.ANNUALCYCLE.departures". The >> error that I get is: >> >> "IOError: cdunif: write access to read-only file" >> > > You can access CDAT as normal user. In fact it will be accessible by all > users if it has installed in the path /usr/local. > > Your IO error says that you do not have write access. > I guess you are trying to write the variable to netcdf out file. > You make sure that you have write access in location (directory) where the > outfile is specified. > > Also I would suggest you to join & post queries in UV-CDAT mailing list. > http://uvcdat.llnl.gov/mailing-list.html > > > > >> >> So does this error have anything to do with user privilege and access >> issues? Can I only run CDAT as root? >> >> If this has nothing to do with access permission issues then please let >> me know what may be causing this? >> >> Thanks >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Cdat-discussion mailing list >> Cda...@li... >> https://lists.sourceforge.net/lists/listinfo/cdat-discussion >> >> > > > -- > Regards, > Arulalan.T > Project Associate > Centre for Atmospheric Sciences > Indian Institute of Technology Delhi > > My Experiments In Gnu/Linux ! : http://tuxcoder.wordpress.com > |