Improved Akima 1-D Interpolation Method
Project description
# # Distribution Statement A. Approved for public release. Distribution unlimited.
#
# # Author:
# # Naval Research Laboratory, Marine Meteorology Division
#
# # This program is free software:
# # you can redistribute it and/or modify it under the terms
# # of the NRLMMD License included with this program.
#
# # If you did not receive the license, see
# # https://github.com/U-S-NRL-Marine-Meteorology-Division/
# # for more information.
#
# # This program is distributed WITHOUT ANY WARRANTY;
# # without even the implied warranty of MERCHANTABILITY
# # or FITNESS FOR A PARTICULAR PURPOSE.
# # See the included license for more details.
Installation Guide
This installation guide has installation steps specific to installing the akima86 package into a standard location.
System Requirements
- Python >= 3.8
- Numpy and a Fortran compiler supported by f2py and OpenMP;
- Matplotlib for tests
Citation
Akima, H., 1986: A method of univariate interpolation that has the accuracy of a third-degree polynomial. NTIA Report 86-208. 76 pp.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation. For published articles, please cite the
"Citation" listed above.
THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
-- David Ryglicki
Setup System Environment Variables
# These steps will need to be copied and pasted into your shell any time you want to run the
# setup commands within this README.
# Typical users do not have to make any modifications to the commands
# within this README, and can copy and paste directly.
# REPO_URL should point to the base URL for git clone commands
export REPO_URL=https://github.com/NRLMMD-GeoIPS
# BASEDIR will contain all source, output, and external dependencies
# Ensure this is consistently set for all installation / setup steps below
export BASEDIR=$HOME/geoproc
Clone akima86 git repositories required for setup scripts
mkdir -p $BASEDIR/packages/
git clone $REPO_URL/akima86.git $BASEDIR/packages/akima86
git -C $BASEDIR/packages/akima86 pull
git -C $BASEDIR/packages/akima86 checkout -t origin/dev
git -C $BASEDIR/packages/akima86 checkout dev
git -C $BASEDIR/packages/akima86 pull
Install akima86 package
# (to change default fortran compiler you can use e.g.
# python setup.py build config_fc --fcompiler=g95)
$BASEDIR/packages/akima86/setup.sh install
Test akima86 installation - these test scripts provide you with the full command line calls
python $BASEDIR/packages/akima86/test/test_akima.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file akima86-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: akima86-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c0d3400de8148849933ce7329de99be2537174a2c0cc8abcaaab000f1b9554 |
|
MD5 | 7610e79e91c9102a40a83177a146e2a8 |
|
BLAKE2b-256 | a5f92c4e7e0facd1e834783640923965c26f04f43eded8f2f0be7b91a2ba91e3 |
File details
Details for the file akima86-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: akima86-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b18752429691d337bc56233738ccb59e313b2334070637e5d4e8da5a9f4adf |
|
MD5 | 1d30ca1112e425c652ada254922cd15b |
|
BLAKE2b-256 | edc83921b4c18adb914f9302ab0c3a28ab0046c2057b13d5c7977216bcc23c5c |
File details
Details for the file akima86-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: akima86-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee43a0e355a2f68e9e4a545ce12ff517f520ed88aacccc8ff042b7affe85ef38 |
|
MD5 | 47af0f39760edb8108db47ab9b3ed3af |
|
BLAKE2b-256 | d8f4c33601ca3a1d472d3e6786bcfe460e6ce71f3aa1a06105d9696a66c81a46 |
File details
Details for the file akima86-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: akima86-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563aaf76c8528985ea62170bfb5c0994e6412e8bf4bbd94f77ce9054d4617b12 |
|
MD5 | ae428fe58a4f59ad12cbdbf3ccca2df4 |
|
BLAKE2b-256 | 03deeee14177dc3afb6fd7948f4eb98e22e0863fe5f49c24f56b964143f5ca9b |