Metadata-Version: 2.4
Name: bsmcmp
Version: 0.0.9
Summary: bsmcmp is a tool to compare files
Author-email: Tianzhu Qiao <tq@feiyilin.com>
Project-URL: Homepage, https://github.com/tianzhuqiao/bsmcmp
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: click>=8.1
Requires-Dist: pandas
Requires-Dist: netCDF4
Requires-Dist: charset_normalizer
Requires-Dist: h5py
Requires-Dist: packaging
Requires-Dist: netCDF4
Requires-Dist: tqdm
Requires-Dist: pyyaml
Requires-Dist: xarray
Requires-Dist: cfgrib
Requires-Dist: rasterio
Requires-Dist: auto-click-auto
Requires-Dist: astropy
Requires-Dist: glymur
Dynamic: license-file

# bsmcmp
**bsmcmp** is a tool to compare data files.

## Install
```
$ pip install bsmcmp
```

## Supported file formats
- ASCII
- CSV
- [HDF5](https://docs.h5py.org/en/stable/)
- Matlab (.mat)
- [netCDF](https://unidata.github.io/netcdf4-python/)
- [GRIB](https://docs.xarray.dev/en/stable/examples/ERA5-GRIB-example.html)
- [GeoTIFF](https://rasterio.readthedocs.io/en/stable/)
- [FITS](https://docs.astropy.org/en/latest/io/fits/index.html)
- [JP2K](https://glymur.readthedocs.io/en/latest/introduction.html)
## Usage
For example, to compare two netCDF files:
```
$ bsmcmp netcdf --file1 /path/to/file1.nc --file2 /path/to/file2.nc
```

To compare all netCDF files in two folders (assume both folders have the same structure):
```
$ bsmcmp netcdf --folder1 /path/to/folder1 --folder2 /path/to/folder2
```

See `bsmcmp --help` or `bsmcmp COMMAND --help` for details
```
Usage: bsmcmp [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  ascii
  config
  csv
  fits
  geotiff
  grib
  hdf5
  jp2k
  matlab
  netcdf
```
