ECC-1383: Spelling: Accessor 'octect_number' should be 'octet_number'

This commit is contained in:
Shahram Najm 2022-04-19 16:03:16 +01:00
parent 0212dc18d3
commit 6a4ee75ef2
15 changed files with 554 additions and 553 deletions

View File

@ -6,11 +6,11 @@ alias numberOfBitsContainingEachPackedValue = bitsPerValue;
alias accuracy = bitsPerValue; alias accuracy = bitsPerValue;
# For grib1 -> grib2 # For grib1 -> grib2
#constant dataRepresentationTemplateNumber = 51; #constant dataRepresentationTemplateNumber = 51;
constant PUnset = -32767; constant PUnset = -32767;
# N is a pointer to the start of the packed data (i.e. gives octet number)
unsigned[2] N : read_only,dump; unsigned[2] N : read_only,dump;
signed[2] P = PUnset; signed[2] P = PUnset;
@ -36,7 +36,7 @@ constant PUnset = -32767;
if (changed(localDefinitionNumber)) { if (changed(localDefinitionNumber)) {
transient TS = 0; transient TS = 0;
meta TScalc spectral_truncation(JS,KS,MS,TS) : read_only,hidden; meta TScalc spectral_truncation(JS,KS,MS,TS) : read_only,hidden;
meta Nassigned octect_number(N,4*TScalc) : hidden; meta Nassigned octet_number(N,4*TScalc) : hidden;
} }
} }

View File

@ -6,11 +6,11 @@ alias numberOfBitsContainingEachPackedValue = bitsPerValue;
alias accuracy = bitsPerValue; alias accuracy = bitsPerValue;
# For grib1 -> grib2 # For grib1 -> grib2
#constant dataRepresentationTemplateNumber = 51; #constant dataRepresentationTemplateNumber = 51;
constant PUnset = -32767; constant PUnset = -32767;
# N is a pointer to the start of the packed data (i.e. gives octet number)
unsigned[2] N : read_only,dump; unsigned[2] N : read_only,dump;
signed[2] P = PUnset; signed[2] P = PUnset;
@ -32,7 +32,7 @@ constant PUnset = -32767;
if (changed(localDefinitionNumber)) { if (changed(localDefinitionNumber)) {
transient TS = 0; transient TS = 0;
meta TScalc spectral_truncation(JS,KS,MS,TS) : read_only,hidden; meta TScalc spectral_truncation(JS,KS,MS,TS) : read_only,hidden;
meta Nassigned octect_number(N,4*TScalc) : hidden; meta Nassigned octet_number(N,4*TScalc) : hidden;
} }
} }

View File

@ -44,7 +44,7 @@ jScansPositively
jPointsAreConsecutive jPointsAreConsecutive
alternativeRowScanning (available only for edition 2) alternativeRowScanning (available only for edition 2)
\endverbatim\n \endverbatim\n
will provide access to single bits of the scanning mode octect hiding will provide access to single bits of the scanning mode octet hiding
its structure from the user.\n its structure from the user.\n
The keys can also have some attributes as \e read \e only, which means that The keys can also have some attributes as \e read \e only, which means that
the key cannot be set (e.g. 7777 at the end of the message), or \e edition \e specific the key cannot be set (e.g. 7777 at the end of the message), or \e edition \e specific

View File

@ -100,7 +100,7 @@ int main(int argc, char *argv[])
if (h) { if (h) {
/* dump key/values pairs according the option_flags and with /* dump key/values pairs according the option_flags and with
* the "serialize" style. Other available styles are: * the "serialize" style. Other available styles are:
* - "debug" Dump all keys with octect position * - "debug" Dump all keys with octet position
* - "c_code" Dump C code to build the grib file from scratch * - "c_code" Dump C code to build the grib file from scratch
*/ */
grib_dump_content(h,stdout,"serialize",option_flags,NULL); grib_dump_content(h,stdout,"serialize",option_flags,NULL);

View File

@ -152,7 +152,7 @@ list( APPEND eccodes_src_files
grib_accessor_class_long.c grib_accessor_class_long.c
grib_accessor_class_lookup.c grib_accessor_class_lookup.c
grib_accessor_class_octahedral_gaussian.c grib_accessor_class_octahedral_gaussian.c
grib_accessor_class_octect_number.c grib_accessor_class_octet_number.c
grib_accessor_class_headers_only.c grib_accessor_class_headers_only.c
grib_accessor_class_padding.c grib_accessor_class_padding.c
grib_accessor_class_pad.c grib_accessor_class_pad.c

View File

@ -167,7 +167,7 @@ libeccodes_la_prototypes= \
grib_accessor_class_label.c \ grib_accessor_class_label.c \
grib_accessor_class_long.c \ grib_accessor_class_long.c \
grib_accessor_class_lookup.c \ grib_accessor_class_lookup.c \
grib_accessor_class_octect_number.c \ grib_accessor_class_octet_number.c \
grib_accessor_class_headers_only.c \ grib_accessor_class_headers_only.c \
grib_accessor_class_padding.c \ grib_accessor_class_padding.c \
grib_accessor_class_pad.c \ grib_accessor_class_pad.c \

View File

@ -135,7 +135,7 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|-----grib_accessor_class_number_of_points_gaussian |-----grib_accessor_class_number_of_points_gaussian
|-----grib_accessor_class_number_of_values |-----grib_accessor_class_number_of_values
|-----grib_accessor_class_octahedral_gaussian |-----grib_accessor_class_octahedral_gaussian
|-----grib_accessor_class_octect_number |-----grib_accessor_class_octet_number
|-----grib_accessor_class_rdbtime_guess_date |-----grib_accessor_class_rdbtime_guess_date
|-----grib_accessor_class_second_order_bits_per_value |-----grib_accessor_class_second_order_bits_per_value
|-----grib_accessor_class_signed |-----grib_accessor_class_signed

View File

@ -154,7 +154,7 @@ extern grib_accessor_class* grib_accessor_class_number_of_points_gaussian;
extern grib_accessor_class* grib_accessor_class_number_of_values; extern grib_accessor_class* grib_accessor_class_number_of_values;
extern grib_accessor_class* grib_accessor_class_number_of_values_data_raw_packing; extern grib_accessor_class* grib_accessor_class_number_of_values_data_raw_packing;
extern grib_accessor_class* grib_accessor_class_octahedral_gaussian; extern grib_accessor_class* grib_accessor_class_octahedral_gaussian;
extern grib_accessor_class* grib_accessor_class_octect_number; extern grib_accessor_class* grib_accessor_class_octet_number;
extern grib_accessor_class* grib_accessor_class_offset_file; extern grib_accessor_class* grib_accessor_class_offset_file;
extern grib_accessor_class* grib_accessor_class_offset_values; extern grib_accessor_class* grib_accessor_class_offset_values;
extern grib_accessor_class* grib_accessor_class_pack_bufr_values; extern grib_accessor_class* grib_accessor_class_pack_bufr_values;

View File

@ -42,22 +42,22 @@ static int unpack_long(grib_accessor*, long* val, size_t* len);
static void init(grib_accessor*, const long, grib_arguments*); static void init(grib_accessor*, const long, grib_arguments*);
static void init_class(grib_accessor_class*); static void init_class(grib_accessor_class*);
typedef struct grib_accessor_octect_number typedef struct grib_accessor_octet_number
{ {
grib_accessor att; grib_accessor att;
/* Members defined in gen */ /* Members defined in gen */
/* Members defined in long */ /* Members defined in long */
/* Members defined in octect_number */ /* Members defined in octet_number */
const char* left; const char* left;
long right; long right;
} grib_accessor_octect_number; } grib_accessor_octet_number;
extern grib_accessor_class* grib_accessor_class_long; extern grib_accessor_class* grib_accessor_class_long;
static grib_accessor_class _grib_accessor_class_octect_number = { static grib_accessor_class _grib_accessor_class_octet_number = {
&grib_accessor_class_long, /* super */ &grib_accessor_class_long, /* super */
"octect_number", /* name */ "octet_number", /* name */
sizeof(grib_accessor_octect_number), /* size */ sizeof(grib_accessor_octet_number), /* size */
0, /* inited */ 0, /* inited */
&init_class, /* init_class */ &init_class, /* init_class */
&init, /* init */ &init, /* init */
@ -98,7 +98,7 @@ static grib_accessor_class _grib_accessor_class_octect_number = {
}; };
grib_accessor_class* grib_accessor_class_octect_number = &_grib_accessor_class_octect_number; grib_accessor_class* grib_accessor_class_octet_number = &_grib_accessor_class_octet_number;
static void init_class(grib_accessor_class* c) static void init_class(grib_accessor_class* c)
@ -139,7 +139,7 @@ static void init_class(grib_accessor_class* c)
static void init(grib_accessor* a, const long l, grib_arguments* c) static void init(grib_accessor* a, const long l, grib_arguments* c)
{ {
grib_accessor_octect_number* self = (grib_accessor_octect_number*)a; grib_accessor_octet_number* self = (grib_accessor_octet_number*)a;
int n = 0; int n = 0;
self->left = grib_arguments_get_name(grib_handle_of_accessor(a), c, n++); self->left = grib_arguments_get_name(grib_handle_of_accessor(a), c, n++);
@ -150,7 +150,7 @@ static void init(grib_accessor* a, const long l, grib_arguments* c)
static int unpack_long(grib_accessor* a, long* val, size_t* len) static int unpack_long(grib_accessor* a, long* val, size_t* len)
{ {
grib_accessor_octect_number* self = (grib_accessor_octect_number*)a; grib_accessor_octet_number* self = (grib_accessor_octet_number*)a;
int ret = 0; int ret = 0;
long offset; long offset;

File diff suppressed because it is too large Load Diff

View File

@ -153,7 +153,7 @@
{ "number_of_values", &grib_accessor_class_number_of_values, }, { "number_of_values", &grib_accessor_class_number_of_values, },
{ "number_of_values_data_raw_packing", &grib_accessor_class_number_of_values_data_raw_packing, }, { "number_of_values_data_raw_packing", &grib_accessor_class_number_of_values_data_raw_packing, },
{ "octahedral_gaussian", &grib_accessor_class_octahedral_gaussian, }, { "octahedral_gaussian", &grib_accessor_class_octahedral_gaussian, },
{ "octect_number", &grib_accessor_class_octect_number, }, { "octet_number", &grib_accessor_class_octet_number, },
{ "offset_file", &grib_accessor_class_offset_file, }, { "offset_file", &grib_accessor_class_offset_file, },
{ "offset_values", &grib_accessor_class_offset_values, }, { "offset_values", &grib_accessor_class_offset_values, },
{ "pack_bufr_values", &grib_accessor_class_pack_bufr_values, }, { "pack_bufr_values", &grib_accessor_class_pack_bufr_values, },

View File

@ -154,7 +154,7 @@ number_of_points_gaussian, &grib_accessor_class_number_of_points_gaussian
number_of_values, &grib_accessor_class_number_of_values number_of_values, &grib_accessor_class_number_of_values
number_of_values_data_raw_packing, &grib_accessor_class_number_of_values_data_raw_packing number_of_values_data_raw_packing, &grib_accessor_class_number_of_values_data_raw_packing
octahedral_gaussian, &grib_accessor_class_octahedral_gaussian octahedral_gaussian, &grib_accessor_class_octahedral_gaussian
octect_number, &grib_accessor_class_octect_number octet_number, &grib_accessor_class_octet_number
offset_file, &grib_accessor_class_offset_file offset_file, &grib_accessor_class_offset_file
offset_values, &grib_accessor_class_offset_values offset_values, &grib_accessor_class_offset_values
pack_bufr_values, &grib_accessor_class_pack_bufr_values pack_bufr_values, &grib_accessor_class_pack_bufr_values

View File

@ -516,7 +516,7 @@ grib_box* grib_box_new(grib_handle* h, int* error);
/* grib_accessor_class_lookup.c */ /* grib_accessor_class_lookup.c */
/* grib_accessor_class_octect_number.c */ /* grib_accessor_class_octet_number.c */
/* grib_accessor_class_headers_only.c */ /* grib_accessor_class_headers_only.c */

View File

@ -354,7 +354,7 @@
<ClCompile Include="..\..\..\src\grib_accessor_class_number_of_values.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_number_of_values.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_number_of_values_data_raw_packing.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_number_of_values_data_raw_packing.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_octahedral_gaussian.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_octahedral_gaussian.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_octect_number.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_octet_number.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_offset_file.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_offset_file.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_offset_values.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_offset_values.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_pack_bufr_values.c" /> <ClCompile Include="..\..\..\src\grib_accessor_class_pack_bufr_values.c" />

View File

@ -585,7 +585,7 @@
<ClCompile Include="..\..\..\src\grib_accessor_class_octahedral_gaussian.c"> <ClCompile Include="..\..\..\src\grib_accessor_class_octahedral_gaussian.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\src\grib_accessor_class_octect_number.c"> <ClCompile Include="..\..\..\src\grib_accessor_class_octet_number.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\src\grib_accessor_class_offset_file.c"> <ClCompile Include="..\..\..\src\grib_accessor_class_offset_file.c">