Skip to content

Commit f94f241

Browse files
fix typos in function descriptions
1 parent 4912cf9 commit f94f241

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

wgrib2/Fi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "fnlist.h"
1212

1313
/*
14-
* HEADER:100:fi:output:0:depreceated, used in old IF structure
14+
* HEADER:100:fi:output:0:deprecated, used in old IF structure
1515
*/
1616

1717
/**

wgrib2/PyInv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern unsigned int nx_;
2222
extern unsigned int ny_;
2323

2424
/*
25-
* HEADER:200:pyinv:inv:0:miscelaneous metadata for pywgrib2_XXX (experimental)
25+
* HEADER:200:pyinv:inv:0:miscellaneous metadata for pywgrib2_XXX (experimental)
2626
*/
2727

2828
/**

wgrib2/SpatialProcessing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "fnlist.h"
1212

1313
/*
14-
* HEADER:400:spatial_proc:inv:0:show spacial processing, pdt=4.15
14+
* HEADER:400:spatial_proc:inv:0:show spatial processing, pdt=4.15
1515
*/
1616

1717
/**

wgrib2/Write_sec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern int file_append;
2222
extern int flush_mode;
2323

2424
/*
25-
* HEADER:100:write_sec:output:2:write grib msessage section X (0-8) to binary file Y
25+
* HEADER:100:write_sec:output:2:write grib message section X (0-8) to binary file Y
2626
*/
2727

2828
/**

wgrib2/fnlist.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ struct function functions[] = {
164164
{"proj4_ij2ll",f_proj4_ij2ll, inv, 2, "X=x Y=y, converts to (i,j) to lon-lat using proj.4 (experimental) we:sn", 100},
165165
{"proj4_ll2i",f_proj4_ll2i, inv, 2, "x=lon y=lat, converts to (i) using proj.4 (experimental) 1..ndata", 100},
166166
{"proj4_ll2ij",f_proj4_ll2ij, inv, 2, "x=lon y=lat, converts lon-lat (i,j) using proj.4 (experimental)", 100},
167-
{"pyinv",f_pyinv, inv, 0, "miscelaneous metadata for pywgrib2_XXX (experimental)", 200},
167+
{"pyinv",f_pyinv, inv, 0, "miscellaneous metadata for pywgrib2_XXX (experimental)", 200},
168168
{"radius",f_radius, inv, 0, "radius of Earth", 100},
169169
{"range",f_range, inv, 0, "print out location of record in bytes, 0 = first byte", 100},
170170
{"reset_delayed_error",f_reset_delayed_error, inv, 0, "clear reset_delayed_error flag", 100},
@@ -173,7 +173,7 @@ struct function functions[] = {
173173
{"scale",f_scale, inv, 0, "scale for packing", 510},
174174
{"scaling",f_scaling, inv, 0, "scaling for packing (old format)", 510},
175175
{"scan",f_scan, inv, 0, "scan order of grid", 200},
176-
{"spatial_proc",f_spatial_proc, inv, 0, "show spacial processing, pdt=4.15", 400},
176+
{"spatial_proc",f_spatial_proc, inv, 0, "show spatial processing, pdt=4.15", 400},
177177
{"spectral_bands",f_spectral_bands, inv, 0, "spectral bands for satellite, pdt=4.31 or 4.32", 400},
178178
{"spectral_bands_extname",f_spectral_bands_extname, inv, 0, "spectral bands for satellite, pdt=4.31 or 4.32, concise name for ExtName", -1},
179179
{"start_FT",f_start_FT, inv, 0, "verf time = reference_time + forecast_time (YYYYMMDDHHMMSS) - no stat. proc time", 400},
@@ -313,7 +313,7 @@ struct function functions[] = {
313313
{"ens_qc",f_ens_qc, output, 4, "simple qc ensemble members X=stats.grb Y=extreme.grb Z=extreme.txt A=1 (qc_version)", 000},
314314
{"fcst_ave",f_fcst_ave, output, 2, "average X=time step Y=output v2", 000},
315315
{"fcst_ave0",f_fcst_ave0, output, 2, "average X=time step, Y=output grib file needs file is special order", 000},
316-
{"fi",f_fi, output, 0, "depreceated, used in old IF structure", 100},
316+
{"fi",f_fi, output, 0, "deprecated, used in old IF structure", 100},
317317
{"grib",f_grib, output, 1, "writes GRIB record (one submessage) to X", 100},
318318
{"grib_ieee",f_grib_ieee, output, 1, "writes data[] to X.grb, X.head, X.tail, and X.h", 100},
319319
{"grib_out",f_grib_out, output, 1, "writes decoded/modified data in grib-2 format to file X", 100},
@@ -343,7 +343,7 @@ struct function functions[] = {
343343
{"wind_dir",f_wind_dir, output, 1, "calculate wind direction, X = output gribfile (direction in degrees, 0=wind from north, 90=wind from east)", 100},
344344
{"wind_speed",f_wind_speed, output, 1, "calculate wind speed, X = output gribfile (U then V in datafile)", 100},
345345
{"wind_uv",f_wind_uv, output, 1, "calculate UGRD/VGRD from speed/dir, X = output gribfile", 100},
346-
{"write_sec",f_write_sec, output, 2, "write grib msessage section X (0-8) to binary file Y", 100},
346+
{"write_sec",f_write_sec, output, 2, "write grib message section X (0-8) to binary file Y", 100},
347347
{"alarm",f_alarm, setup, 1, "terminate after X seconds", 100},
348348
{"append",f_append, setup, 0, "append mode, write to existing output files", 100},
349349
{"crlf",f_crlf, setup, 0, "make the end of the inventory a crlf (windows) instead of newline (unix)", 100},

0 commit comments

Comments
 (0)