Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobwilliams/regridpack
Modern Fortran Edition of REGRIDPACK
https://github.com/jacobwilliams/regridpack
fortran fortran-package-manager interpolation linear-interpolation regridding spline-interpolation
Last synced: about 6 hours ago
JSON representation
Modern Fortran Edition of REGRIDPACK
- Host: GitHub
- URL: https://github.com/jacobwilliams/regridpack
- Owner: jacobwilliams
- License: other
- Created: 2019-10-13T05:42:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T03:11:19.000Z (9 months ago)
- Last Synced: 2024-02-20T04:23:58.544Z (9 months ago)
- Topics: fortran, fortran-package-manager, interpolation, linear-interpolation, regridding, spline-interpolation
- Language: Fortran
- Homepage:
- Size: 1.68 MB
- Stars: 12
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![regridpack](media/logo.png)
============### Status
[![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran&logoColor=white)](https://github.com/topics/fortran)
[![GitHub release](https://img.shields.io/github/release/jacobwilliams/regridpack.svg)](https://github.com/jacobwilliams/regridpack/releases/latest)
[![Build Status](https://github.com/jacobwilliams/regridpack/actions/workflows/CI.yml/badge.svg)](https://github.com/jacobwilliams/regridpack/actions)
[![last-commit](https://img.shields.io/github/last-commit/jacobwilliams/regridpack)](https://github.com/jacobwilliams/regridpack/commits/master)## Brief Description
This is an updated and modernized version of REGRIDPACK, a suite of Fortran routines
for interpolating values between one-, two-, three-, and four-dimensional arrays defined
on uniform or nonuniform orthogonal grids. This operation is commonly referred to as "regridding."
Linear or cubic interpolation can be selected independently in each dimension.
Extrapolation is not allowed. The subroutines in REGRIDPACK cannot be used to
transfer values on nonorthogonal (randomly scattered) data grids.## Source
The original Fortran 77 version of this code used to be available from UCAR at: http://www.scd.ucar.edu/softlib/REGRIDPACK.html and/or ftp://ftp.ucar.edu/ftp/dsl/lib/regridpack/ but, as of 2019, both links are now dead. It's possible that this library was formerly known as TLCPACK. There were apparently also unit tests programs (trgrd1.f, trgrd2.f, trgrd3.f, trgrd4.f, trgrd1u.f, trgrd2u.f, trgrd3u.f, and trgrd4u.f) that I can't seem to locate. Does anyone have them?
### Compiling
A [Fortran Package Manager](https://github.com/fortran-lang/fpm) manifest file is included, so that the library can be compiled with FPM. For example:
```
fpm build --profile release
fpm test --profile release
```To use `regridpack` within your fpm project, add the following to your `fpm.toml` file:
```toml
[dependencies]
regridpack = { git="https://github.com/jacobwilliams/regridpack.git" }
```### Documentation
The API documentation for the current ```master``` branch can be found [here](https://jacobwilliams.github.io/regridpack/). This is generated by processing the source files with [FORD](https://github.com/Fortran-FOSS-Programmers/ford).
## License
The regridpack source code and related files and documentation are distributed under a permissive free software [license](https://github.com/jacobwilliams/regridpack/blob/master/LICENSE.txt) (BSD-style).
### See also
* J. Williams, [Interpolation](https://degenerateconic.com/interpolation.html), Oct 18, 2019 [degenerateconic.com]