Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
fimex:faq [2016-08-26 08:58:15] heikok [How to use fimex as opendap-client?] |
fimex:faq [2024-07-03 07:11:55] (current) alexanderb opendap auth on jammy |
||
---|---|---|---|
Line 172: | Line 172: | ||
==== Authentication ==== | ==== Authentication ==== | ||
- | Authentication to opendap servers need to be configured by setup files. Generally, authentication is described | + | In theory, it should be possible to specify username and password |
+ | - in '' | ||
+ | - as part of the URL for example '' | ||
- | === Example | + | Example '' |
- | + | < | |
- | Authentication to the NASA data available to earthdata users https:// | + | machine |
- | + | ||
- | * Register a user, get a password and enable the needed application on the earthdata web-pages. Follow the instructions on their pages. | + | |
- | * Make sure you can access the desired data from your browser, e.g. by selecting a small opendap-ASCII dataset. | + | |
- | * Put the username/ | + | |
- | * '' | + | |
login XXXX | login XXXX | ||
- | password YYYY</ | + | password YYYY |
- | * make sure the file is only readable by you < | + | </ |
- | * allow fimex/ | + | |
- | * '' | + | |
- | HTTP.NETRC=/ | + | |
- | * test with an inventory of a opendap file < | + | |
- | * test with fimex < | + | |
- | + | ||
+ | Example '' | ||
+ | < | ||
+ | HTTP.NETRC=YOURHOME/ | ||
- | ===== Why takes linking with '' | + | HTTP.CREDENTIALS.USERNAME=XXXX |
+ | HTTP.CREDENTIALS.PASSWORD=YYYY | ||
- | This happens with older versions of gcc, seen with 3.3 on debian sarge. | + | HTTP.USERNAME=XXXX |
+ | HTTP.PASSWORD=YYYY | ||
+ | </ | ||
- | Use '' | + | Unfortunately, |
+ | Known status of OpenDAP authentication support (applies to '' | ||
+ | * Specifying the password in the URL does not seem to work when the password contains a '' | ||
+ | * For Ubuntu 16.04 (xenial, EOL), both URL and netrc seem to work. | ||
+ | * For Ubuntu 18.04 (bionic), username | ||
+ | * For Ubuntu 20.04 (focal), username | ||
+ | * For Ubuntu 22.04 (jammy), the only solution known to us is to add a '' | ||