fimex:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fimex:faq [2015-10-26 13:34:11]
heikok [How to use fimex as opendap-client?]
fimex:faq [2022-05-31 09:29:32] (current)
Line 169: Line 169:
 </code> </code>
  
-===== Why takes linking with ''g++ -g''  ages? ===== 
  
-This happens with older versions of gcc, seen with 3.3 on debian sarge.+==== Authentication ====
  
-Use ''-gstabs'' or ''-ggdb'' instead of ''-g''For debugging, this is better suited to c++ code and works with the GNU utils and most other debuggertoo. (But unfortunately  not with /valgrind/.+In theory, it should be possible to specify username and password 
 +  - in ''$HOME/.dodsrc'' and ''$HOME/.netrc'' (see below for an example) 
 +  - as part of the URL for example ''https://XXXX:YYYY@thredds.met.no/thredds/dodsC/....nc'' 
 + 
 +Example ''$HOME/.netrc'': 
 +<code
 +machine thredds.met.no 
 +    login XXXX 
 +    password YYYY 
 +</code> 
 + 
 +Example ''$HOME/.dodsrc'' (replace ''YOURHOME'' with the value og ''$HOME''): 
 +<code> 
 +HTTP.NETRC=YOURHOME/.netrc 
 +</code> 
 + 
 +Unfortunatelythis does not always seem to work as expected. 
 +Known status of OpenDAP authentication support (applies to ''fimex'' and ''ncdump''): 
 +  * Specifying the password in the URL does not seem to work when the password contains a ''/'', at least for Ubuntu 18.04. 
 +  * For Ubuntu 16.04 (xenial, EOL), both URL and netrc seem to work. 
 +  * For Ubuntu 18.04 (bionic), username and password cannot be read from netrc, but can be specified in the URL. 
 +  * For Ubuntu 20.04 (focal), username and password can only be read from netrc, but cannot be specified in the URL.
  
  • fimex/faq.1445866451.txt.gz
  • Last modified: 2022-05-31 09:23:15
  • (external edit)