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:
- The user selects a model using UI
- MINT searches the data for the models querying the data catalog
- 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)
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:
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.
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/