Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b3fa8ee
Apply suggested fix to gui/wxpython/gmodeler/panels.py from Copilot A…
echoix Jul 10, 2026
ce2fd02
Apply suggested fix to python/grass/gunittest/reporters.py from Copil…
echoix Jul 19, 2026
c459cd0
Apply suggested fix to python/grass/pygrass/vector/table.py from Copi…
echoix Jul 14, 2026
3481bb6
Apply suggested fix to python/grass/temporal/gui_support.py from Copi…
echoix Jul 16, 2026
b1b1391
Apply suggested fix to python/grass/temporal/stds_import.py from Copi…
echoix Jul 19, 2026
0c404f8
Apply suggested fix to raster/r.param.scale/close_down.c from Copilot…
echoix Jul 17, 2026
c4ba55f
Apply suggested fix to raster/r.param.scale/interface.c from Copilot …
echoix Jul 17, 2026
bbf1f0b
Update typo raster/r.sunmask/solpos00.c
echoix Jul 15, 2026
cebb713
Apply suggested fix to scripts/r.reclass.area/r.reclass.area.html fro…
echoix Jul 14, 2026
0e65107
Apply suggested fix to scripts/r.reclass.area/r.reclass.area.md from …
echoix Jul 15, 2026
3aecfd0
Apply suggested fix to scripts/r.reclass.area/testsuite/test_r_reclas…
echoix Jul 14, 2026
776cdf6
Update raster/r.param.scale/interface.c
echoix Sep 5, 2026
895220b
Update python/grass/gunittest/reporters.py
echoix Sep 5, 2026
bd61747
Merge branch 'main' into claude/grass-typo-fixes-consolidation-dbl67u
echoix Sep 5, 2026
dc75fe5
Apply suggested fix to doc/development/style_guide.md from Copilot Au…
echoix Jul 15, 2026
352dcef
Apply suggested fix to doc/development/style_guide.md from Copilot Au…
echoix Jul 15, 2026
6e5e044
Apply suggested fix to doc/development/style_guide.md from Copilot Au…
echoix Jul 15, 2026
0162e6c
Apply suggested fix to doc/development/style_guide.md from Copilot Au…
echoix Jul 15, 2026
21ed294
Apply suggested fix to lib/raster/put_row.c from Copilot Autofix
echoix Jul 15, 2026
e49f6af
Apply suggested fix to raster/r.viewshed/grass.cpp from Copilot Autofix
echoix Jul 15, 2026
61f7267
Apply suggested fix to raster/r.viewshed/grass.cpp from Copilot Autofix
echoix Jul 15, 2026
699749f
Apply suggested fix to raster/r.viewshed/grass.cpp from Copilot Autofix
echoix Jul 15, 2026
c65096e
Apply suggested fix to scripts/g.extension/g.extension.py from Copilo…
echoix Jul 15, 2026
c9a29ee
Apply suggested fix to scripts/g.extension/g.extension.py from Copilo…
echoix Jul 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/development/style_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ The structure consists of several required and optional sections:
```

Sections _Notes_, _Examples_, _References_, and _Authors_ can be also in
singular form (e.g, _Note_).
singular form (e.g., _Note_).

Note that Markdown is converted to html using [MkDocs](https://www.mkdocs.org/).
See also [supported Markdown elements by MkDocs](https://www.markdownguide.org/tools/mkdocs/)
Expand Down Expand Up @@ -337,7 +337,7 @@ Examples:
- `v_clean_rmsa.png`

**Image size:** ideally **600 pixel width** (height depends on that), use e.g.
ImageMagic:
ImageMagick:

```bash
mogrify -resize 600x file.png
Expand Down Expand Up @@ -759,7 +759,7 @@ gs.fatal(_("No map found, exiting."))
# debug output (users can use g.gisenv to enable/disable)
# debug level is 1 to 5 (5 is most detailed)
# debug message should not be translated
gs.debug(f"Our calculated value is: {value}."), 3)
gs.debug(f"Our calculated value is: {value}.", 3)
```

Do not use the `print` function for informational output. This is reserved for
Expand Down Expand Up @@ -926,7 +926,7 @@ d. - display tools
db. - database tools
g. - general GIS management tools
i. - imagery tools
m. - miscellaneous tool tools
m. - miscellaneous tools
ps. - postscript tools
r. - raster tools
r3. - raster3D tools
Expand Down
2 changes: 1 addition & 1 deletion gui/wxpython/gmodeler/panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __init__(
lambda message: self.SetStatusText(message)
)

# here events are binded twice
# here events are bound twice
self._gconsole.Bind(
EVT_CMD_RUN,
lambda event: self._switchPageHandler(
Expand Down
2 changes: 1 addition & 1 deletion lib/raster/put_row.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static void put_raster_row(int, const void *, RASTER_MAP_TYPE, int);
updating the range file upon close of the cell file. HOWEVER when
nulls are not embedded, the cells are considered 0's as far as
updating range is concerned, even if the corresponding cell is null
in the resulting null file, so programmer should be carefult to set
in the resulting null file, so programmer should be careful to set
all the null values using Rast_set_null_value() or
G_insert_d_null_values() or G_insert_f_null_values().

Expand Down
2 changes: 1 addition & 1 deletion python/grass/pygrass/vector/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def add(self, col_name, col_type):
:param col_name: the name of column to add
:type col_name: str
:param col_type: the tipe of column to add
:param col_type: the type of column to add
:type col_type: str
>>> import sqlite3
Expand Down
4 changes: 3 additions & 1 deletion python/grass/temporal/gui_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def tlist_grouped(type, group_type: bool = False, dbif=None):
['precipitation', 'temperature']
:param type: element type (strds, str3ds, stvds)
:param group_type: TBD
:param group_type: If True, group results by dataset type within each
mapset (dict of dicts); otherwise return a flat list of dataset names
per mapset (dict of lists).
:return: directory of mapsets/elements
"""
Expand Down
2 changes: 1 addition & 1 deletion python/grass/temporal/stds_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
output = "temp_1950_2012"
directory = "/tmp"
title = "My new dataset"
descr = "May new shiny dataset"
descr = "My new shiny dataset"
location = None
link = True
exp = True
Expand Down
2 changes: 1 addition & 1 deletion raster/r.param.scale/close_down.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void close_down(void)
strcpy(map_type, "Longitudinal curvature");
Rast_append_history(&history, "Longitudinal curvature is the profile "
"curvature intersecting with the");
Rast_append_history(&history, "plane defined by the surfacenormal and "
Rast_append_history(&history, "plane defined by the surface normal and "
"maximum gradient direction.");
break;

Expand Down
2 changes: 1 addition & 1 deletion raster/r.param.scale/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void interface(int argc, char **argv)
nprocs = G_set_omp_num_threads(nprocs_opt);
nprocs = Rast_disable_omp_on_mask(nprocs);
if (nprocs < 1)
G_fatal_error(_("<%d> is not valid number of nprocs."), nprocs);
G_fatal_error(_("<%d> is not a valid number of nprocs."), nprocs);
memory = atoi(mem_opt->answer);
constrained = constr->answer;
sscanf(expon->answer, "%lf", &exponent);
Expand Down
2 changes: 1 addition & 1 deletion raster/r.sunmask/solpos00.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ static void geometry(struct posdata *pdat)
{
float bottom; /* denominator (bottom) of the fraction */
float c2; /* cosine of d2 */
float cd; /* cosine of the day angle or delination */
float cd; /* cosine of the day angle or declination */
float d2; /* pdat->dayang times two */
float delta; /* difference between current year and 1949 */
float s2; /* sine of d2 */
Expand Down
6 changes: 3 additions & 3 deletions raster/r.viewshed/grass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ GridHeader *read_header(char *rastName, Cell_head *region)

nrows = Rast_window_rows();
ncols = Rast_window_cols();
/*check for loss of prescion */
/*check for loss of precision */
if (nrows <= maxDimension && ncols <= maxDimension) {
hd->nrows = (dimensionType)nrows;
hd->ncols = (dimensionType)ncols;
Expand Down Expand Up @@ -866,7 +866,7 @@ void save_io_visibilitygrid_to_GRASS(IOVisibilityGrid *visgrid, char *fname,
for (j = 0; j < (dimensionType)ncols; j++) {

if (curResult->row == i && curResult->col == j) {
/*cell is recodred in the visibility stream: it must be
/*cell is recorded in the visibility stream: it must be
either visible, or NODATA */
if (is_visible(curResult->angle))
writeValue(visrast, j, fun(curResult->angle), type);
Expand Down Expand Up @@ -991,7 +991,7 @@ void save_io_vis_and_elev_to_GRASS(IOVisibilityGrid *visgrid, char *elevfname,
}

if (curResult->row == i && curResult->col == j) {
/*cell is recodred in the visibility stream: it must be
/*cell is recorded in the visibility stream: it must be
either visible, or NODATA */
if (is_visible(curResult->angle))
writeValue(visrast, j, elev - vp_elev, elev_data_type);
Expand Down
4 changes: 2 additions & 2 deletions scripts/g.extension/g.extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,13 @@ def _is_git_installed(self):
try:
gs.call([self._git], stdout=PIPE)
except OSError:
gs.fatal(_("Could not found Git. Please install it."))
gs.fatal(_("Could not find Git. Please install it."))

def __check_permissions(self):
""""""
# Create working directory if it does not exist
self.working_directory.mkdir(parents=True, exist_ok=True)
# Check pemissions in case he workdir existed
# Check permissions in case the workdir exists
if not os.access(self.working_directory, os.W_OK):
gs.fatal(
_("Cannot write to working directory {}.").format(
Expand Down
6 changes: 3 additions & 3 deletions scripts/r.reclass.area/r.reclass.area.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ <h2>SEE ALSO</h2>
<a href="r.clump.html">r.clump</a>,
<a href="r.reclass.html">r.reclass</a>,
<a href="r.stats.html">r.stats</a>,
<a href="v.to.rast.html">r.stats</a>,
<a href="v.clean.html">r.stats</a>,
<a href="v.edit.html">r.stats</a>
<a href="v.to.rast.html">v.to.rast</a>,
<a href="v.clean.html">v.clean</a>,
<a href="v.edit.html">v.edit</a>
</em>

<h2>AUTHORS</h2>
Expand Down
2 changes: 1 addition & 1 deletion scripts/r.reclass.area/r.reclass.area.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ r.report zipcodes unit=h
Extract only areas greater than 2000 ha, NULL otherwise:

```sh
r.reclass.area input=zipcodes output=zipcodes_larger2000ha greater=2000
r.reclass.area input=zipcodes output=zipcodes_larger2000ha lower=2000

r.report zipcodes_larger2000ha unit=h
```
Expand Down
2 changes: 1 addition & 1 deletion scripts/r.reclass.area/testsuite/test_r_reclass_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_rmarea_lower_upper_vector_basins(self) -> None:
self.assertVectorFitsTopoInfo(
vector=output_map,
reference={"areas": 14, "primitives": 82},
msg=f"Toplogy of output map {output_map} does not match reference.",
msg=f"Topology of output map {output_map} does not match reference.",
)


Expand Down
Loading