Skip to content

Commit

Permalink
Fix various typos (#5116)
Browse files Browse the repository at this point in the history
Found via `codespell -q 3 -L als,ang,ans,dum,geometrie,hist,iff,inout,lod,merget,nd,objext,oder,oposition,parm,parms,pres,poiter,posession,repid,ressource,sinc,som,sur,te,templat,thare,titel,tre`
  • Loading branch information
luzpaz authored Jan 15, 2022
1 parent e0fda92 commit d8874f6
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion autotest/alg/warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ def test_warp_54():
gdal.Unlink('/vsimem/warp_54.tif')

###############################################################################
# Test warped VRT with source overview, target GT != GenImgProjetion target GT
# Test warped VRT with source overview, target GT != GenImgProjection target GT
# and subsampling (#6972)


Expand Down
2 changes: 1 addition & 1 deletion autotest/ogr/ogr_gml_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -2998,7 +2998,7 @@ def test_ogr_gml_67():
gdal.Unlink(filename[0:-3] + "gfs")

###############################################################################
# Test reading GML with xsd with a choice of geometry properites
# Test reading GML with xsd with a choice of geometry properties


def test_ogr_gml_68():
Expand Down
2 changes: 1 addition & 1 deletion data/gmlasconf.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ Use ogr_gmlas:FeatureCollection / ogr_gmlas:featureMember wrapping
When comparing the XPath exclusion rules and the
XPath of the elements/attributes of the parsed
documents, and when the namespace of the XPath
exclusion rule has been difined, the URI will be
exclusion rule has been defined, the URI will be
used as the unambiguous key. Otherwise prefix
matching will be used.
</xs:documentation>
Expand Down
2 changes: 1 addition & 1 deletion data/grib2_table_4_2_0_2.csv
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
6,"MNTSF","Montgomery stream function","(m^2)/(s^2)","UC_NONE"
7,"SGCVV","Sigma coordinate vertical velocity","1/s","UC_NONE"
8,"VVEL","Vertical velocity (pressure)","Pa/s","UC_NONE"
9,"DZDT","Verical velocity (geometric)","m/s","UC_NONE"
9,"DZDT","Vertical velocity (geometric)","m/s","UC_NONE"
10,"ABSV","Absolute vorticity","1/s","UC_NONE"
11,"ABSD","Absolute divergence","1/s","UC_NONE"
12,"RELV","Relative vorticity","1/s","UC_NONE"
Expand Down
2 changes: 1 addition & 1 deletion data/grib2_table_4_2_10_0.csv
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
39,"ALRRC","Altimeter Range Relative Correction","-","UC_NONE"
40,"MNWSOW","10 Metre Neutral Wind Speed Over Waves","m/s","UC_NONE"
41,"MWDIRW","10 Metre Wind Direction Over Waves","Degree true","UC_NONE"
42,"WESP","Wave Engery Spectrum","s/((m^2)*rad)","UC_NONE"
42,"WESP","Wave Energy Spectrum","s/((m^2)*rad)","UC_NONE"
43,"KSSEW","Kurtosis of The Sea Surface Elevation Due to Waves","-","UC_NONE"
44,"BENINX","Benjamin-Feir Index","-","UC_NONE"
45,"SPFTR","Spectral Peakedness Factor","1/s","UC_NONE"
Expand Down
2 changes: 1 addition & 1 deletion doc/source/drivers/raster/isis3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ The available creation options are:
filename is the main filename with a .tif extension.
- **GEOTIFF_AS_REGULAR_EXTERNAL**\ =YES/NO. Whether the GeoTIFF file,
if uncompressed, should be registered as a regular raw file. Defaults
to YES, so as to maximimze the compatibility with earlier version of
to YES, so as to maximize the compatibility with earlier version of
the ISIS3 driver.
- **GEOTIFF_OPTIONS**\ =string. Comma separated list of KEY=VALUE
tuples to forward to the GeoTIFF driver. e.g.
Expand Down
2 changes: 1 addition & 1 deletion frmts/grib/degrib/README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ metaname.cpp file (those files have been extracted with the extract_tables.py
script run on metaname.cpp file, before removing the tables from it), and which
are located in frmts/grib/degrib/data, with CSV tables originating from WMO
(https://github.com/wmo-im/GRIB2). The merge is done with the merge_degrib_and_wmo_tables.py
script. To update to a newer versin of the WMO tables, update the wmo_github_tag
script. To update to a newer version of the WMO tables, update the wmo_github_tag
variable at the top of the script.

When adding a new table, it must be referenced in the GDAL_DATA_FILES variable
Expand Down
2 changes: 1 addition & 1 deletion frmts/grib/degrib/data/grib2_table_4_2_0_2.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ subcat,short_name,name,unit,unit_conv
6,"MNTSF","Montgomery stream function","(m^2)/(s^2)",UC_NONE
7,"SGCVV","Sigma coordinate vertical velocity","1/s",UC_NONE
8,"VVEL","Vertical velocity (pressure)","Pa/s",UC_NONE
9,"DZDT","Verical velocity (geometric)","m/s",UC_NONE
9,"DZDT","Vertical velocity (geometric)","m/s",UC_NONE
10,"ABSV","Absolute vorticity","1/s",UC_NONE
11,"ABSD","Absolute divergence","1/s",UC_NONE
12,"RELV","Relative vorticity","1/s",UC_NONE
Expand Down
2 changes: 1 addition & 1 deletion frmts/grib/degrib/data/grib2_table_4_2_10_0.csv
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ subcat,short_name,name,unit,unit_conv
39,"ALRRC","Altimeter Range Relative Correction","-",UC_NONE
40,"MNWSOW","10 Metre Neutral Wind Speed Over Waves","m/s",UC_NONE
41,"MWDIRW","10 Metre Wind Direction Over Waves","Degree true",UC_NONE
42,"WESP","Wave Engery Spectrum","s/((m^2)*rad)",UC_NONE
42,"WESP","Wave Energy Spectrum","s/((m^2)*rad)",UC_NONE
43,"KSSEW","Kurtosis of The Sea Surface Elevation Due to Waves","-",UC_NONE
44,"BENINX","Benjamin-Feir Index","-",UC_NONE
45,"SPFTR","Spectral Peakedness Factor","1/s",UC_NONE
2 changes: 1 addition & 1 deletion frmts/grib/degrib/degrib/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ void Clock_Print (char *buffer, int n, double l_clock, const char *format,
* ARGUMENTS
* buffer = Destination to write the format to. (Output)
* n = The number of characters in buffer. (Input)
* l_clock = The time stored as a double (asumed in UTC). (Input)
* l_clock = The time stored as a double (assumed in UTC). (Input)
* format = The desired output format. (Input)
* timeZone = Hours to add to local time to get UTC. (Input)
* f_dayCheck = True if we should check if daylight savings is in effect,
Expand Down
2 changes: 1 addition & 1 deletion frmts/grib/degrib/g2clib/grib2c.doc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ user decide if the decoder should unpack the Bit-map ( if applicable )
and the data values or just return the field description information.

Note that a struct gribfield is allocated by g2_getfld, and it also
contains pointers to many arrays of data that are alloated during decoding.
contains pointers to many arrays of data that are allocated during decoding.
Because of this, users are encouraged to free up this memory, when it is
no longer needed, by an explicit call to routine g2_free.

Expand Down
2 changes: 1 addition & 1 deletion frmts/grib/degrib/merge_degrib_and_wmo_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def process_table_4_2():
product_type = int(m.group(1))
category = int(m.group(2))

# Instanciate final table
# Instantiate final table
table_name = f'grib2_table_4_2_{product_type}_{category}.csv'
if table_name not in dict_tables:
dict_tables[table_name] = [None for i in range(256)]
Expand Down
2 changes: 1 addition & 1 deletion frmts/hdf4/hdf-eos/SWapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -9822,7 +9822,7 @@ SWgetfillvalue(int32 swathID, const char *fieldname, VOIDP fillval)
| |
| FUNCTION: SWdetach |
| |
| DESCRIPTION: Detachs swath structure and performs housekeeping |
| DESCRIPTION: Detaches swath structure and performs housekeeping |
| |
| |
| Return Value Type Units Description |
Expand Down
2 changes: 1 addition & 1 deletion frmts/hdf4/hdf4imagedataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3557,7 +3557,7 @@ GDALDataset *HDF4ImageDataset::Open( GDALOpenInfo * poOpenInfo )
poDS->hGR = GRstart( poDS->hHDF4 );
if( poDS->hGR == -1 )
{
// Release mutex otherwise wel deadlock with GDALDataset own mutex.
// Release mutex otherwise we deadlock with GDALDataset own mutex.
CPLReleaseMutex(hHDF4Mutex);
delete poDS;
CPLAcquireMutex(hHDF4Mutex, 1000.0);
Expand Down
2 changes: 1 addition & 1 deletion frmts/hfa/hfacompress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ GUInt32 HFACompress::valueAsUInt32( GUInt32 iPixel )
}

// Finds the minimum value in a type specific fashion. This value is
// subtracted from each value in the compressed dataset. The maxmimum
// subtracted from each value in the compressed dataset. The maximum
// value is also found and the number of bits that the range can be stored
// is also returned.
//
Expand Down
2 changes: 1 addition & 1 deletion gcore/gdal_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ template<class T> static inline void ClampAndRound(
/**
* \brief Adjust a value to the output data type
*
* Adjustment consist in clamping to minimum/maxmimum values of the data type
* Adjustment consist in clamping to minimum/maximum values of the data type
* and rounding for integral types.
*
* @param eDT target data type.
Expand Down
2 changes: 1 addition & 1 deletion port/cplstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ CPLString &CPLString::replaceAll( char chBefore,
/**
* Returns whether the string ends with another string
* @param osStr other string.
* @return true if the string ends wit osStr.
* @return true if the string ends with osStr.
*/
bool CPLString::endsWith( const std::string& osStr ) const
{
Expand Down

0 comments on commit d8874f6

Please sign in to comment.