Maybe. The .netrc and .dodsrc files do not need to be in your home directory, if that is the issue. But you will need to create them somewhere (even /tmp, although that is a security risk). Is there nowhere you can create them? > > I am a software developer at GSFC, and I am trying to download some opendap > data through netCDF4 library (netCDF4.Dataset). It needs some credential > files (.netrc/.dodsrc) in the sytem, but I can't do it in my environment. Is > there anyway we can achieve this without using .netrc file (eg some > environment variables)? > > The URL I was trying to access is: > > http://hydro1.gesdisc.eosdis.nasa.gov/thredds/dodsC/NLDAS_FORA0125_H.002/2010/001/NLDAS_FORA0125_H.A20100101.0000.002.grb?Precipitation_hourly_total[0:0][0:223][0:463],lat[0:223],lon[0:463],time1[0:0] > > =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: KZZ-335340 Department: Support netCDF Priority: Critical Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.