Description Usage Arguments Note
Creates the connection to the Open Data Cube database.
This function generates a list of the class odcsits-index
that allows
the connection to and manipulation of the database.
1 | odc_index(dbname, host, port, user, password)
|
dbname |
Open Data Cube Database name |
host |
Open Data Cube Database host |
port |
Open Data Cube Database port |
user |
Open Data Cube Database user |
password |
Open Data Cube Database password |
It is recommended that the database information be stored in environment variables, avoiding direct exposure of the user/password in the code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.