FINAM v1.0 #4
MuellerSeb
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The first stable release of FINAM: Version 1.0 🎉
FINAM is an open-source component-based model coupling framework for environmental models.
It aims at enabling bi-directional online couplings of models for different compartments like geo-, hydro-, pedo- and biosphere.
The framework is built in Python, with well-defined interfaces for data exchange.
This approach allows for coupling of models irrespective of their internal structure, architecture or programming language.
Resources
Changelog
Breaking changes
modulesrenamed tocomponentsfor consistency (!289)modulesrenamed tocomponentsinCompositionfor consistency (!289)_next_timeinstead of the propertynext_timefor consistency (!283)Compositionare now private (!273)Input.sourceis private,Input.get_source()becomes propertyInput.source,Input.set_sourcebecomes a getter (!273)Output.targetsis private,Output.get_targets()becomes propertyOutput.targets(!273)_next_timeinstead of propertynext_time(!283)Infonow has properties forgrid,timeandmask(!286)Infoare now optional (!286)Info.acceptshas changed signature: renamedignore_nonetoincoming_donwstream(!286)Info.acceptsnow only checks:grid,maskandunits(other meta data can differ) (!286)Grid.to_/from_canonicalnow allows additional dimensions (!286)data_shapenow a property ofGridBase(!286)NoGridcan be initialized withdimordata_shapenowNoGrid.data_shapecan have-1entries for variable size dimensionsdimgiven toNoGrid, all entries indata_shapewill be-1Features
cells_connectivity: connectivity array as used by ESMF and VTKcells_definition: cell definition as used by PyVista and legacy VTKcells_offset: location of the start of each cell incells_connectivitygrid_tools(!275)get_cells_matrix: convertcells_connectivityorcells_definitionback to the default cells matrix used in the Grid class (can be used to convert VTK-grids into FINAM-grids)INV_VTK_TYPE_MAP: inverse mapping toVTK_TYPE_MAP- FINAM cell type to VTK cell typeVTK_CELL_DIM: parametric dimension for each VTK cell typecopymethod to grids with optional argumentdeep(Falseby default) to create a copy of a griddata_locationin order to set a new data location (e.g. after copying a grid)valid_locationsin order to check the set data location (esri-grid only supports cells, unstructured-points only support points)axes_attributesalso to unstructured gridscompatible_withnow has acheck_locationargument to optionally check data location (!280)Maskenum with two options: (!286)Mask.FLEXfor flexible maskingMask.NONEto explicitly use plain numpy arraysmaskattribute and init-arg toInfo: can be aMaskvalue or a valid mask fornumpy.ma.MaskedArray(!286)data.tools.preparenow applies masks to data if set inInfoobject (!286)ARegriddingnow has aout_maskarg (!286)RegridNearestandRegridLinearnow support explicitly masked data (input doesn't haveMask.FLEX) (!286)in_infoproperty (!286)Bug fixes
Documentation
This discussion was created from the release FINAM v1.0.
Beta Was this translation helpful? Give feedback.
All reactions