From 0c5910e4d704c3a71ff47dfc76f89aea4bb565f9 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 20 Jun 2024 15:42:53 -0700 Subject: [PATCH] codespell with 2.2.6 --- AUTHORS | 2 +- LICENSE | 8 ++++---- doc/install.rst | 2 +- pyhdf/SD.py | 2 +- pyhdf/VS.py | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/AUTHORS b/AUTHORS index b451d00..868f52c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,6 +2,6 @@ Andre Gosselin @bmagill1250 @dmarth Fazlul Shahriar -HDF-EOS Tools Informatoin Center +HDF-EOS Tools Information Center H. Joe Lee Travis E. Oliphant diff --git a/LICENSE b/LICENSE index e641f40..d9103c0 100644 --- a/LICENSE +++ b/LICENSE @@ -22,7 +22,7 @@ THE SOFTWARE. Built distributions of pyhdf also include: -Libary | License -- hdf | BSD-3 -- jpeg | Custom BSD-like -- zlib | zlib +Library | License +- hdf | BSD-3 +- jpeg | Custom BSD-like +- zlib | zlib diff --git a/doc/install.rst b/doc/install.rst index d2183e1..d280959 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -17,7 +17,7 @@ Once you're in the conda environment, install `pyhdf from conda-forge If you don't want to use conda, the instructions below describes how you can compile pyhdf from source. Version 0.10.3 also includes static linked wheels for -linux with cpython 3.6-3.9. If compatible, `pip install pyhdf` will include the neccessary +linux with cpython 3.6-3.9. If compatible, `pip install pyhdf` will include the necessary libraries for you. If you don't want to use the built manylinux distribution, follow instructions below to build from source downloading from pypi with `pip install pyhdf --no-binary :all:`. diff --git a/pyhdf/SD.py b/pyhdf/SD.py index 16d2f83..521a91b 100644 --- a/pyhdf/SD.py +++ b/pyhdf/SD.py @@ -3087,7 +3087,7 @@ def setscale(self, data_type, scale): buf = _C.array_float64(n_values) else: - raise HDF4Error("setscale: illegal or usupported data_type") + raise HDF4Error("setscale: illegal or unsupported data_type") if n_values == 1: buf[0] = scale diff --git a/pyhdf/VS.py b/pyhdf/VS.py index 8fbb15a..44bcfd6 100644 --- a/pyhdf/VS.py +++ b/pyhdf/VS.py @@ -643,7 +643,7 @@ class method. The names of predefined attributes all start with an following examples). However, the VS API prohibits changing an attribute type when updating its value. Since the length (order) of an attribute is part of its type, we make sure of setting the attribute to a length -long enough to accommodate the longest possible string we migh want to +long enough to accommodate the longest possible string we might want to assign to the attribute. Appending records to a vdata @@ -2053,7 +2053,7 @@ def __buildStartCount(self, elem, setitem=0): # - tuple of the start indices along the vdata dimensions # - tuple of the count values along the vdata dimensions # a count of -1 indicates that an index, not a slice - # was applied on the correcponding dimension. + # was applied on the corresponding dimension. # Make sure the indexing expression does not exceed the # vdata number of dimensions (2).