Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdpiper/bmi-geospatial-fortran

Basic Model interface extension for geospatial data, Fortran version
https://github.com/mdpiper/bmi-geospatial-fortran

bmi csdms fortran geospatial

Last synced: 26 days ago
JSON representation

Basic Model interface extension for geospatial data, Fortran version

Awesome Lists containing this project

README

        

# bmi-geospatial-fortran

The Fortran specification for an example
[Basic Model Interface](https://bmi.readthedocs.io) extension
for geospatial data.

The SIDL describing the interface for this example extension:
```java
package csdms version 0.0.1 {
interface bmi_geo {

int initialize(in string config_file);
int get_grid_coordinate_names(in int grid, out array names);
int get_grid_coordinate_units(in int grid, out array units);
int get_grid_coordinate(in int grid, int string coordinate, in array values);
int get_grid_crs(in int grid, out string name);
}
}
```

Like the [Fortran specification for the core BMI](https://github.com/csdms/bmi-fortran),
the code in this repository
is used to define an abstract type, *bmi_geo*,
that is intended to be overridden by a concrete type in an implementation.
The *bmi_geo* type is encapsulated in a module, *bmigeof*,
and built into a library, *libbmigeof*.