Skip to content

Register netcdf file #1

Description

@mosoriob

Create a new function to register a NetCDF file.

Why:

MINT is: Model Integration through Knowledge-Rich Data and Process Composition
A model has inputs (files and parameters and outputs)

The pipeline of MINT is:

  1. The user selects a model using UI
  2. MINT searches the data for the models querying the data catalog
  3. MINT runs the model on our servers

However, we are not registering the model's results (outputs) on the data catalog. That is not good :(.

In some cases, the output can be the input of a model.

  • Model A has input X and the output Y
  • Model B has inputs Y and the output Z

So, we need to register the outputs to allow the integration.

If we can register the output Y automatically, then we can run the two models automatically.

How?

Create a new method in the new module (file) called netcdf.py. The function is going to extract the geospatial and temporal information for NetCDF files.

Some examples:

https://data.mint.isi.edu/files/topoflow/executions/galana/

import xarray as xr
data=xr.open_dataset('Test1_2D-d-flood.nc')
print(data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions