Thanks for the link, but I don't understand how to write .dodsrc and put .netrc path in it
after google search, here what I put at the end of $HOME/.dodsrc
HTTP.NETRC=/home/$USER/.netrc
but i still got access denied
Search found 3 matches
- Fri Aug 29, 2025 5:44 pm America/New_York
- Forum: Home
- Question: GDL to access
- Replies: 5
- Fri Aug 29, 2025 12:30 pm America/New_York
- Forum: Home
- Question: GDL to access
- Replies: 5
Re: GDL to accesshttps://oco2.gesdisc.eosdis.nasa.gov/opendap/OCO2_L1B_Science.11.2/contents.html
Hi many thanks for your help, here is my code and error (access denied). I do have $HOME/.netcr (with username and password, and i can wget data without any problem
GDL> fid = NCDF_OPEN('{http://} oco2.gesdisc.eosdis.nasa.gov/opendap/OCO2_L1B_Science.11.2/2025/230/oco2_L1bScGL_59193a_250818_B11213 ...
GDL> fid = NCDF_OPEN('{http://} oco2.gesdisc.eosdis.nasa.gov/opendap/OCO2_L1B_Science.11.2/2025/230/oco2_L1bScGL_59193a_250818_B11213 ...
- Wed Aug 27, 2025 3:44 pm America/New_York
- Forum: Home
- Question: GDL to access
- Replies: 5
GDL to access
I am trying to access {https://} oco2.gesdisc.eosdis.nasa.gov/opendap/OCO2_L1B_Science.11.2/contents.html from gdl (an open source of idl), and I have ~/.netrc with my username and password. I can use wget to download data without problem, but when I am in gdl session, I got access denied. Is there ...