Giter Club home page Giter Club logo

mikecore-examples's Introduction

MIKE Core Examples

Examples of reading dfs files and pfs files in different environments.

Content:

  • Examples: Examples in different programming languages
  • TestData: Data of various formats.

In the release zip file there is also (version 1.1.1 and later):

  • bin: .NET assemblies and native libraries and files for building and running.

Most examples are in C#, located in Examples/CSharp folder.

Some prerequisites:

  • Be sure to use 64 bit. For scripting, use the 64 bit version of e.g. Python or MATLAB. When building in Visual Studio or similar, be sure to target x64.
  • The "Microsoft Visual C++ Redistributable" is required. That is installed by all MIKE Products, and also by many other applications made by Visual Studio. If it is not installed, get it from here or here.

Introduction and Documentation

An introduction to MIKE Core and its libraries, including more documentation can be found on:

http://docs.mikepoweredbydhi.com/core_libraries/core-libraries/

Changelog

For changes to MIKE Core components in general, visit:

http://docs.mikepoweredbydhi.com/core_libraries/core-changelog/

The list here contains only major updates to the MIKE Core Examples.

  • 2021-02-09:
    • Adding C/C++ examples.
    • Updating NuGet to version 19.0 (MIKE Release 2021)
  • 2019-05-06:
    • Updating to version 18.1 (MIKE Release 2020 Update 1)
  • 2019-12-20:
    • Update references to use NuGet packages.
    • Updating to version 18.0 (MIKE Release 2020)

Usage of MIKE Core in .NET environments

MIKE Core .NET assemblies are (as of Release 2019 an onwards) installed in the MIKE installation bin folder. This implies that MIKE .NET assemblies may not be found by your script or application.

In scripting environments, like Python and MATLAB, there are two options:

  1. Get the DHI.MikeCore.Util release zip file, unzip it, and use the files in the bin folder.
  2. Install a MIKE product (e.g. MIKE SDK), and use DHI.Mike.Install to locate the MIKE installation bin folder.

When building and deploying an application or a tool, there are two options:

  1. Deploy your application and all the MIKE Core files together.
  2. Deploy your application only, install a MIKE product (e.g. MIKE SDK) and use DHI.Mike.Install to locate the MIKE installation bin folder.

If building the application in Visual Studio, when referencing the MIKE Core components using NuGet packages, all the necessary MIKE Core files are copied automatically to the build output folder, so deploying the content of that folder should work.

If building the application in other ways, you can get the DHI.MikeCore.Util release zip file, unzip it, and include all the files in the bin folder together with your application.

Use DHI.Mike.Install to locate the MIKE installation bin folder.

Check out DHI.Mike.Install on how to locate the MIKE installation bin folder.

mikecore-examples's People

Contributors

emunozq1 avatar jespergr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mikecore-examples's Issues

More Detailed API Document for MzChart

I'm trying to use MzChart in a project and found the document is very generic. The example works and I need add more to the chart to matching existing template. I'd appreciate if more document could be added or you could point to the right person for this. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.