A tool for common data file operation.


Keywords
File, Operations, data-analysis, data-files, data-operations, file-operations, interpolation, numerical-analysis, python, python-library, python-package
License
MIT
Install
pip install kfutils==0.1.7

Documentation

kfutils: A tool for common data file operations.

Alt text Alt text Alt text Alt text Alt text Alt text

âš’ Instalation

Download and install the latest package from the release section or directly by pip

pip install kfutils

This installs the python module and a command line tool named kfutils.

âš¡ Usage

✈ Using as a command line tool.

kutils [-h] -i FILE [-o FILE] [-c COLS [COLS ...]] [-rd COLS [COLS ...]] [-dr COLS [COLS ...]] [-dc COLS [COLS ...]] [-int N [N ...]] [-mir N] [-rep N]
Argument Description
-i Input file name
If no operations are given it will show the stats about the file
-o Output file name. (default: '_out' prefix to input file name)
-c Index(s) of grid columns. 2 columns for 2D file
-rd Index(s) of columns to convert to degree from radian
-dr Index(s) of columns to convert to radian from degree
-dc Index(s) of columns to delete
-int Number of grid to interpolate to. Can be 1D or 2D
-mir Number of times to mirror
-rep Number of times to repeat

🚀 Using as a python module
The toplevel python module kfutils exposes several functions/class.