GIS Data Providers¶
The Data Provider concept in MIKE OPERATIONS, allows MIKE OPERATIONS to connect to GIS stored in other types of water data systems.
Remote File Based Raster Provider¶
The remote file based raster provider provides access to reading dfs2 files on disk.
The connection string is a path to a folder on a disk.
All files within the specified folder and sub folders will be shown in the GIS Explorer.
When the provider has been configured, a restart of MIKE Workbench is required to show the dfs2 and nc (NetCDF) files on disk.
MIKE Cloud Providers¶
MIKE Cloud is an open platform, providing storage for time series, spatial data and blob data in the Cloud.
The MIKE Cloud Providers allow spatial data stored in MIKE Cloud to be used in MIKE OPERATIONS as if they were stored in the MIKE OPERATIONS database.
Benefits of MIKE Cloud includes:
- Scalable computing power
- Multi-user collaboration
- Custom software creation
- Partnerships and integration with 3rd party technology
- Access to open data
- Enabling digital twins and operational control
Provider types¶
-
MIKE Cloud GIS Provider
Provider for reading vector data in the MIKE Cloud Platform -
MIKE Cloud Raster Provider
Provider for reading grided mesh data in the MIKE Cloud Platform -
MIKE Cloud Mesh Provider
Provider for reading triangular mesh data in the MIKE Cloud Platform
Configure a Provider in MIKE Workbench¶
Access to MIKE Cloud, requires either a DHI single sign-on user, or an Open API key, created in the DHI Admin Center (see section about creating Open API keys) and associated to one or more projects.
Connections the MIKE Cloud data are created in the GIS Explorer, right clicking the root node of the explorer and selecting Edit Provider(s) Connection(s)....
The connection string contains the following information (separated by a semicolon ;
).
-
Environment (Prod, Dev, Test)
Default is Prod (production). If the environment is not specified, Prod is used. -
API key
The API key (a GUID) generated in the DHI Azure Admin Center. The API key is optional.
By default, the connection string is empty. This means that the Production environment is used, and that DHI single
DHI single sign-on requires a login and is not suitable when using e.g. the job service of MIKE OPERATIONS for running scheduled jobs. In this case using an API key is recommended.
Select OK when the connection string has been specified.
sign-on is used.
Tip
If the connection fails, you should clear the cache by deleting the file (for Prod):
%localappdata%\DHI.oidccache.bin
Get Access to MIKE Cloud¶
Access to MIKE Cloud using a MIKE Cloud Azure subscription is required in order to configure the MIKE Cloud Provider in MIKE OPERATIONS.
MIKE Cloud Subscription¶
The MIKE Cloud subscription can be bought by contacting the sales department of DHI by sending a mail to mike@dhigroup.com
The MIKE Cloud Provider only requires time series storage and a single admin user able to create AppKeys for the MIKE Cloud Platform.
The DHI sales department can help in deciding the right subscription to use.
Admin Center¶
Admin Center is the app which the Admin users have access to. From here you can on-board additional users by invitation.
The first Admin Users is set up during the sign-up process and added by DHI. Additional users should be invited by the Admin User.
The Admin User can nominate other users become Admin Users and hereby enable them to enroll additional users.
Creating Open API key¶
For communicating via API instead of using the user interface an Open API key needs to be created.
To create the API key you will have to be an Admin User, as they are the only ones with access to Admin Center.
Create an API Account¶
Give the account a static name (cannot be changed) and a Display name - which is the name that will be displayed referring to the Key's under this account. Each account can hold several key's.
Press Create, which will list the created account in the account list.
Find it a press Edit to get a Key created.
Press the Create new key button and a key will be generated - you can copy this to your clipboard by clicking the copy icon. The key is only visible while the side panel is open, next time you open it will be xx'ed out.
Add your API Account to a project¶
Go to Data Admin - and choose the project you want the API Account to be a member of.
Click edit project and search for the Account to add it in the members section - also remember to grant it sufficient rights to write to the project.