Spelling fixes

This commit is contained in:
Greg Sjaardema 2019-09-17 20:27:43 -06:00
parent ee941decca
commit 56c0d5cf8a
98 changed files with 146 additions and 146 deletions

View File

@ -924,7 +924,7 @@ IF(ENABLE_TESTS)
# same thing as an 'expected failure'. Rather, these
# are tests that will need to be fixed eventually.
#
# By placing them here, we can occasionaly turn this
# By placing them here, we can occasionally turn this
# flag on and see if any known failures have been
# fixed in the course of code improvement/other bug
# fixes.

View File

@ -111,7 +111,7 @@ See [GitHub #1251](https://github.com/Unidata/netcdf-c/issues/1251).
(2) appending "#protocol=dap4" to the end of the url, or
(3) appending "#dap4" to the end of the url
Note that dap4 is enabled by default but remote-testing is
disbled until the testserver situation is resolved.
disabled until the testserver situation is resolved.
* [Enhancement] The remote testing server can now be specified with the `--with-testserver` option to ./configure.
* [Enhancement] Modified netCDF4 to use ASCII for NC_CHAR. See [Github Pull request #316](https://github.com/Unidata/netcdf-c/pull/316) for more information.
* [Bug Fix] Corrected an error with how dimsizes might be read. See [Github #410](https://github.com/unidata/netcdf-c/issues/410) for more information.
@ -446,7 +446,7 @@ More details may be found at the Unidata JIRA Dashboard. [NCF-316](https://bugt
* Refactored how types are used for attributes, variables, and committed types, clarifying and categorizing fields in structs, and eliminating duplicated type information between variables and types they use.
* Made type structure sharable by committed datatypes and variables that use it.
* Made type structure shareable by committed datatypes and variables that use it.
* Handled string datatypes correctly, particularly for fill value attributes. Expanded testing for string fill values.
@ -1327,7 +1327,7 @@ variables.
* Fixed ncgen to properly handle CDL input that uses Windows line endings
("\r\n"), instead of getting a syntax error.
* Added "-s" option to ncdump to display performance characterisitics of
* Added "-s" option to ncdump to display performance characteristics of
netCDF-4 files as special virtual attributes, such as \_Chunking,
\_DeflateLevel, \_Format, and \_Endianness.

View File

@ -22,7 +22,7 @@ else
echo "*** XFail: ${NCDUMP} ${URL} failed"
fi
# Now check that with [fillmismatch], we get sucess
# Now check that with [fillmismatch], we get success
URL="[fillmismatch]${URL}"
rm -f ./tmp_dap4_mismatch
if ${NCDUMP} -h "${URL}" > ./tmp_dap4_mismatch ; then

View File

@ -28,7 +28,7 @@ NetCDF data is:
efficiently.
- *Appendable*. Data may be appended to a properly structured netCDF
file without copying the dataset or redefining its structure.
- *Sharable*. One writer and multiple readers may simultaneously
- *Shareable*. One writer and multiple readers may simultaneously
access the same netCDF file.
- *Archivable*. Access to all earlier forms of netCDF data will be
supported by current and future versions of the software.

View File

@ -113,6 +113,6 @@ Science Foundation, Unidata's primary sponsor. Development of the
netCDF-4 interface was initially funded by NASA's Earth Science
Technology Office. Addition of OPeNDAP client support to the netCDF
library is based on work supported by the National Science Foundation.
Any opinions, findings and conclusions or recomendations expressed in
Any opinions, findings and conclusions or recommendations expressed in
this material are those of the authors and do not necessarily reflect
the views of the sponsoring organizations.

View File

@ -23,5 +23,5 @@ netCDF-4/HDF5 files, and the remote data access features.
Conceptually, the dispatch layer provides the same capabilities as the
IOSP in the netCDF-Java library. However, unlike Java, C does not
provide the advanced features to make this seemless.
provide the advanced features to make this seamless.
*/

View File

@ -2370,7 +2370,7 @@ Examine the translated DDS for the DAP source from the specified URL:
\endcode
Without dumping all the data, show the special virtual attributes that indicate
performance-related characterisitics of a netCDF-4 file:
performance-related characteristics of a netCDF-4 file:
\code
ncdump -h -s nc4file.nc
@ -2782,7 +2782,7 @@ netCDF specification. The C source code is written to standard
output. This is only useful for relatively small CDL files, since all
the data is included in variable initializations in the generated
program. The -c flag is deprecated and the -lc flag should be used
intstead.
instead.
-f
Generate FORTRAN source code that will create a netCDF dataset
@ -2790,7 +2790,7 @@ matching the netCDF specification. The FORTRAN source code is written
to standard output. This is only useful for relatively small CDL
files, since all the data is included in variable initializations in
the generated program. The -f flag is deprecated and the -lf77 flag
should be used intstead.
should be used instead.
-k
The -k file specifies the kind of netCDF file to generate. The

View File

@ -176,7 +176,7 @@ use a hash table for name indexing, but rather keep a list sorted by name
and use binary search to do name-based lookup. If this alternative were
implemented, then it is probable that we could get rid of using the NC_hashmap
structure altogether for netcdf-4. There is a performance cost since binary
search is O(log n). In practice, it is probable that this is of negligable
search is O(log n). In practice, it is probable that this is of negligible
effect. The advantage is that rename operations become considerably simpler.
\section Sglobal_object_access Global Object Access

View File

@ -77,7 +77,7 @@ caller, and it is the caller's responsibility to _free_ the memory.
The implementation of in-memory support for netcdf-4 files
is quite complicated.
The netCDF-4 implemention relies on the HDF5 library. In order
The netCDF-4 implementation relies on the HDF5 library. In order
to implement in-memory storage of data, the HDF5 core driver is
used to manage underlying storage of the netcdf-c file.
@ -248,7 +248,7 @@ then we cannot realloc and we must fake it as follows:
1. If the chunk is big enough, then pretend to do a realloc by
changing the vfd_image_size.
2. If the chunk is not big enough to accomodate the requested new size,
2. If the chunk is not big enough to accommodate the requested new size,
then fail.
There is one important complication. It turns out that the image_realloc

View File

@ -152,7 +152,7 @@ cannot complete because the memory needs to be expanded.
the netcdf library will take control of the incoming memory.
This means that the user should not make any attempt to free
or even read the incoming memory block in this case.
The newcdf library is free to reallocate the incomming
The newcdf library is free to reallocate the incoming
memory block to obtain a larger block when an attempt to modify
the in-memory file requires more space. Note that implicit in this
is that the old block -- the one originally provided -- may be

View File

@ -945,7 +945,7 @@ current support (and test on) at Unidata. The only known work around is
to build without the --enable-shared option.
Any user who can debug this problem with the NAG compiler should send
the resuts to support-netcdf@unidata.ucar.edu, so that it can be
the results to support-netcdf@unidata.ucar.edu, so that it can be
incorporated into the netCDF distribution.
Interested users may also wish to subscribe to the [netcdf-porting

View File

@ -782,7 +782,7 @@ Learn about a variable length array type.
.HP
FDECL(free_vlen, (nc_vlen_t *vl))
.sp
Free memory comsumed by reading data of a variable length array type.
Free memory consumed by reading data of a variable length array type.
.HP
FDECL(put_vlen_element, (INCID(), INCTYPE(), IVOIDP(vlen_element), ISIZET(len), IVOIDP(data)))
.sp
@ -794,7 +794,7 @@ Read one VLEN.
.HP
FDECL(free_string, (ISIZET(len), char **data))
.sp
Free memory comsumed by reading data of a string type.
Free memory consumed by reading data of a string type.
.HP
FDECL(inq_user_type, (INCID(), INCTYPE(), ONAME(), OSIZET(), ONCTYPE(), OSIZET(), OINT()))
.sp

View File

@ -875,7 +875,7 @@ through the netCDF C or Fortran interfaces, support for parallel I/O
on netCDF classic and 64-bit offset files using the PnetCDF
library from Argonne/Northwestern, a new nc-config
utility to help compile and link programs that use netCDF, inclusion
of the UDUNITS library for hadling ``units'' attributes, and inclusion
of the UDUNITS library for handling ``units'' attributes, and inclusion
of libcf to assist in creating data compliant with the Climate and
Forecast (CF) metadata conventions.
@ -1589,7 +1589,7 @@ The extended CDL syntax for the enhanced
data model supported by netCDF-4 allows optional type specifications,
including user-defined types, for
attributes of user-defined types. See ncdump output or the reference
documentation for ncgen for details of the extended CDL systax.
documentation for ncgen for details of the extended CDL syntax.
In the netCDF example (@pxref{Data Model}), units is an attribute for
the variable lat that has a 13-character array value
@ -4033,7 +4033,7 @@ Password for accessing the HTTP.SSL.KEY/HTTP.SSL.CERTIFICATE
@item Type: String representing directory
@item Description:
Path to a directory containing trusted certificates for validating
server sertificates.
server certificates.
@item Related CURL Flags: CURLOPT_CAPATH
@end enumerate
@ -4191,7 +4191,7 @@ double slash characters '//' on any line.
A CDL description for a classic model file consists of three optional
parts: dimensions, variables, and data. The variable part may contain
variable declarations and attribute assignments. For the enhanced
model supported by netCDF-4, a CDL decription may also includes
model supported by netCDF-4, a CDL description may also includes
groups, subgroups, and user-defined types.
A dimension is used to define the shape of one or more of the
@ -4337,10 +4337,10 @@ Unsigned 16-bit integers.
Unsigned 32-bit integers.
@item int64
64-bit singed integers.
64-bit signed integers.
@item uint64
Unsigned 64-bit singed integers.
Unsigned 64-bit signed integers.
@item string
Variable-length string of characters
@ -4521,7 +4521,7 @@ netCDF specification. The C source code is written to standard
output. This is only useful for relatively small CDL files, since all
the data is included in variable initializations in the generated
program.
The -c flag is deprecated and the -lc flag should be used intstead.
The -c flag is deprecated and the -lc flag should be used instead.
@item -f
Generate FORTRAN source code that will create a netCDF dataset
@ -4529,7 +4529,7 @@ matching the netCDF specification. The FORTRAN source code is written
to standard output. This is only useful for relatively small CDL
files, since all the data is included in variable initializations in
the generated program.
The -f flag is deprecated and the -lf77 flag should be used intstead.
The -f flag is deprecated and the -lf77 flag should be used instead.
@item -k
The -k file specifies the kind of netCDF file to generate.
@ -5947,7 +5947,7 @@ document. For more information about HDF5, see the HDF5 web site:
@uref{http://hdf.ncsa.uiuc.edu/HDF5/}.
The specification that follows is sufficient to allow HDF5 users to
create files that will be accessable from netCDF-4.
create files that will be accessible from netCDF-4.
@subsection Creation Order
@ -6276,7 +6276,7 @@ Starting with version 4.1, the netCDF libraries can read HDF4 SD
created with the Scientific Dataset API. Access is read-only.
Dataset types are translated between HDF4 and netCDF in a
straighforward manner.
straightforward manner.
@table @code
@item DFNT_CHAR

View File

@ -40,7 +40,7 @@ associated with the user-defined format, then netCDF will be able to
correctly identify those files from nc_open(). It will not be
necessary for the user to know or specify the underlying format.
## Using User-Defined Formats from C Programms {#udf_With_C}
## Using User-Defined Formats from C Programs {#udf_With_C}
A user-defined format can be added dynamically in the case of C programs.
@ -83,7 +83,7 @@ be specified with the --with-udf0-magic-number= argument.
## Creating a User-Defined Format {#udf_Create_UDF}
Creators of user-defined format libraries will have to become familar
Creators of user-defined format libraries will have to become familiar
with the internals of the netCDF-4 code.
### Read-Only User-Defined Formats

View File

@ -317,10 +317,10 @@
# AC_MSG_RESULT($IDL_ROOT)
# AC_SUBST(IDL_ROOT)
#
# # Now find where the IDL 5.2 or later sharable libraries live.
# # Now find where the IDL 5.2 or later shareable libraries live.
# # NB: This won't work if libraries for several architecutures are
# # installed for several machines.
# AC_MSG_CHECKING(for the IDL sharable library directory)
# AC_MSG_CHECKING(for the IDL shareable library directory)
# # cd to the IDL root because it is likely a symbolic link and find
# # won't normally follow symbolic links.
# IDL_LIBS=`(cd $IDL_ROOT; find . -name 'libidl.so' -print)`

View File

@ -55,7 +55,7 @@ main()
int i, res;
/* Create a classic format netCDF file, overwritting any file of
/* Create a classic format netCDF file, overwriting any file of
this name that may already exist. */
if ((res = nc_create(FILENAME, NC_CLOBBER, &ncid)))
BAIL(res);

View File

@ -7,6 +7,6 @@
set -e
echo
echo "Runnung pnetcdf parallel I/O example..."
echo "Running pnetcdf parallel I/O example..."
@MPIEXEC@ -n 4 ./parallel_vara
echo '*** SUCCESS!!!'

View File

@ -5,7 +5,7 @@
* Read the simple_xy file, with some of the features of netCDF-4.
*
* This is a very simple example which is based on the simple_xy
* example, but whch uses netCDF-4 features, such as
* example, but which uses netCDF-4 features, such as
* compression. Please see the simple_xy example to learn more about
* the netCDF-3 API.
*

View File

@ -5,7 +5,7 @@
* Write the simple_xy file, with some of the features of netCDF-4.
*
* This is a very simple example which is based on the simple_xy
* example, but whch uses netCDF-4 features, such as
* example, but which uses netCDF-4 features, such as
* compression. Please see the simple_xy example to learn more about
* the netCDF-3 API.
*

View File

@ -18,7 +18,7 @@
#define NUM_VALS 12
#define STR_LEN 255
/* This seems like a good sonnet for enumation:
/* This seems like a good sonnet for enumeration:
How do I love thee? Let me count the ways.
I love thee to the depth and breadth and height

View File

@ -136,7 +136,7 @@ main()
H5Fclose(fileid) < 0) ERR;
/* Now create the file again, to make sure that it really is not
* just mearly dead, but really most sincerely dead. */
* just nearly dead, but really most sincerely dead. */
if ((fileid = H5Fcreate(FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT,
access_plist)) < 0) ERR;
if (H5Fclose(fileid) < 0) ERR;

View File

@ -20,7 +20,7 @@ main()
printf("*** checking 1D int dataset with extend...");
{
/* Misspelling is deliberite. Please dont correct. */
/* Misspelling is deliberate. Please dont correct. */
#define INTERGERS "Intergers"
#define NUM_STR 1
#define NDIMS 1

View File

@ -27,7 +27,7 @@ main()
hsize_t dims[1];
printf("\n*** Checking HDF5 variable functions.\n");
printf("*** Checking HDF5 boolen variables...");
printf("*** Checking HDF5 boolean variables...");
/* Open file and create group. */
if ((fileid = H5Fcreate(FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT,

View File

@ -87,7 +87,7 @@ main(int argc, char **argv)
for (i = 0; i < LAT_LEN * LON_LEN; i++)
if (data_int[i] != i) ERR;
/* NULL count is treated as meaing entire variable. */
/* NULL count is treated as meaning entire variable. */
if (nc_get_vara_int(ncid, 0, start, NULL, data_int2)) ERR;
for (i = 0; i < LAT_LEN * LON_LEN; i++)
if (data_int2[i] != i) ERR;

View File

@ -22,7 +22,7 @@
#define NC_MAX_HDF5_NAME (NC_MAX_NAME + 10)
/* These have to do with creating chuncked datasets in HDF5. */
/* These have to do with creating chunked datasets in HDF5. */
#define NC_HDF5_UNLIMITED_DIMSIZE (0)
#define NC_HDF5_CHUNKSIZE_FACTOR (10)
#define NC_HDF5_MIN_CHUNK_SIZE (2)

View File

@ -58,7 +58,7 @@ typedef enum {NCNAT, NCVAR, NCDIM, NCATT, NCTYP, NCFLD, NCGRP} NC_SORT;
#define X_SCHAR_MIN (-128) /**< Minimum signed char value. */
#define X_SCHAR_MAX 127 /**< Maximum signed char value. */
#define X_UCHAR_MAX 255U /**< Maximum unsigned char value. */
#define X_SHORT_MIN (-32768) /**< Minumum short value. */
#define X_SHORT_MIN (-32768) /**< Minimum short value. */
#define X_SHRT_MIN X_SHORT_MIN /**< This alias is compatible with limits.h. */
#define X_SHORT_MAX 32767 /**< Maximum short value. */
#define X_SHRT_MAX X_SHORT_MAX /**< This alias is compatible with limits.h. */

View File

@ -5,7 +5,7 @@
* interface for HDF5, or a HDF5 backend for netCDF, depending on your
* point of view.
*
* This file contains macros and prototyes relating to logging.
* This file contains macros and prototypes relating to logging.
*
* @author Ed Hartnett
*/

View File

@ -1765,7 +1765,7 @@ EXTERNL int
nc_delete(const char *path);
/*
* The following functions were written to accomodate the old Cray
* The following functions were written to accommodate the old Cray
* systems. Modern HPC systems do not use these functions any more,
* but use the nc_open_par()/nc_create_par() functions instead. These
* functions are retained for backward compatibibility. These

View File

@ -37,12 +37,12 @@ typedef struct NC_memio {
extern "C" {
#endif
/* Treate a memory block as a file; read-only */
/* Treat a memory block as a file; read-only */
EXTERNL int nc_open_mem(const char* path, int mode, size_t size, void* memory, int* ncidp);
EXTERNL int nc_create_mem(const char* path, int mode, size_t initialsize, int* ncidp);
/* Alternative to nc_open_mem with extended capabilites
/* Alternative to nc_open_mem with extended capabilities
See docs/inmemory.md
*/
EXTERNL int nc_open_memio(const char* path, int mode, NC_memio* info, int* ncidp);

View File

@ -1021,7 +1021,7 @@ buildcdftreer(NCDAPCOMMON* nccomm, OCddsnode ocnode, CDFnode* container,
break;
case OC_Dimension:
default: PANIC1("buildcdftree: unexpect OC node type: %d",(int)octype);
default: PANIC1("buildcdftree: unexpected OC node type: %d",(int)octype);
}
/* Avoid a rare but perhaps possible null-dereference

View File

@ -9,7 +9,7 @@
/**********************************************/
/* Define methods for a dimension dapodometer*/
/* Build an odometer covering slices startslice upto, but not including, stopslice */
/* Build an odometer covering slices startslice up to, but not including, stopslice */
Dapodometer*
dapodom_fromsegment(DCEsegment* segment, size_t startindex, size_t stopindex)
{

View File

@ -129,12 +129,12 @@ extern void dcesegment_transpose(DCEsegment* seg,
/* Find leftmost index of segment slices
s.t. that index and all upto last
s.t. that index and all up to last
satisfy dceiswholeslice
*/
extern size_t dcesafeindex(DCEsegment* seg, size_t start, size_t stop);
/* Compute segment size for start upto stop */
/* Compute segment size for start up to stop */
extern size_t dcesegmentsize(DCEsegment*, size_t start, size_t stop);
/* Convert a DCE projection/selection/constraint instance into a string

View File

@ -2236,7 +2236,7 @@ applyclientparamcontrols(NCDAPCOMMON* dapcomm)
if(dapparamcheck(dapcomm,"show","fetch"))
SETFLAG(dapcomm->controls,NCF_SHOWFETCH);
/* enable/disable _FillValue/Variable Mis-match */
/* enable/disable _FillValue/Variable Mismatch */
if(dapparamcheck(dapcomm,"fillmismatch",NULL))
SETFLAG(dapcomm->controls,NCF_FILLMISMATCH);
else if(dapparamcheck(dapcomm,"nofillmismatch",NULL))

View File

@ -20,7 +20,7 @@
/*
Given a packet as read from the wire via http (or a file), convert in
place from chunked format to a single continguous set of bytes. If an
place from chunked format to a single contiguous set of bytes. If an
error packet is recovered, then make that available to the caller and
return an error. Also return whether the data was big endian encoded
and whether it has checksums.

View File

@ -652,7 +652,7 @@ savevarbyid(NCD4node* group, NCD4node* var)
nclistinsert(group->group.varbyid,var->meta.id,var);
}
/* Collect FQN path from node upto (but not including)
/* Collect FQN path from node up to (but not including)
the first enclosing group and create an name from it
*/
static char*

View File

@ -13,7 +13,7 @@
/**********************************************/
/* Define methods for a dimension dapodometer*/
/* Build an odometer covering slices startslice upto,
/* Build an odometer covering slices startslice up to,
but not including, stopslice
*/
@ -21,7 +21,7 @@
Future optimization. It is sometimes the case that
some suffix of the index set cover a contiguous chunk
of the index space. This happens when the index positions
starting at p upto rank have a start of zero, a count
starting at p up to rank have a start of zero, a count
the same as the max index size, and a stride of one.
Then we can effectively tread indices 0 thru p-1 as
a short odometer that steps through the chunks.

View File

@ -502,7 +502,7 @@ parseSequence(NCD4parser* parser, NCD4node* container, ezxml_t xml, NCD4node** n
2. a vlen type whose basetype is #1
3. a variable whose basetype is #2.
If we can infer that the sequence was riginally produced
from a netcdf-4 vlen, then we can avoid createing #1.
from a netcdf-4 vlen, then we can avoid creating #1.
Naming is as follows. Assume the var name is V
and the NCD4_makeName of the var is V1..._Vn.
1. var name is V.

View File

@ -159,7 +159,7 @@ NCD4_makeName(NCD4node* elem, const char* sep)
NClist* path = nclistnew();
char* fqn = NULL;
/* Collect the path upto, but not including, the first containing group */
/* Collect the path up to, but not including, the first containing group */
for(estimate=0,n=elem;n->sort != NCD4_GROUP;n=n->container) {
nclistinsert(path,0,n);
estimate += (1+(2*strlen(n->name)));

View File

@ -217,7 +217,7 @@ const char *nc_strerror(int ncerr1)
case NC_ENOCOMPOUND:
return "NetCDF: Can't create HDF5 compound type";
case NC_EATTEXISTS:
return "NetCDF: Attempt to create attribute that alread exists";
return "NetCDF: Attempt to create attribute that already exists";
case NC_ENOTNC4:
return "NetCDF: Attempting netcdf-4 operation on netcdf-3 file";
case NC_ESTRICTNC3:
@ -245,7 +245,7 @@ const char *nc_strerror(int ncerr1)
case NC_ELATEDEF:
return "NetCDF: Attempt to define var properties, like deflate, after enddef.";
case NC_EDIMSCALE:
return "NetCDF: Probem with HDF5 dimscales.";
return "NetCDF: Problem with HDF5 dimscales.";
case NC_ENOGRP:
return "NetCDF: No group found.";
case NC_ESTORAGE:

View File

@ -2090,7 +2090,7 @@ NC_open(const char *path0, int omode, int basepe, size_t *chunksizehintp,
/* Create the NC* instance and insert its dispatcher */
if((stat = new_NC(dispatcher,path,omode,&model,&ncp))) goto done;
/* Add to list of known open files. This assignes an ext_ncid. */
/* Add to list of known open files. This assigns an ext_ncid. */
add_to_NCList(ncp);
/* Assume open will fill in remaining ncp fields */

View File

@ -227,7 +227,7 @@ nc_def_var(int ncid, const char *name, nc_type xtype,
any existing filled values will not be recognized as fill values by
applications reading the data. Best practice is to set the fill
value after the variable has been defined, but before any data have
been written to that varibale. In NetCDF-4 files, this is enforced
been written to that variable. In NetCDF-4 files, this is enforced
by the HDF5 library. For netCDF-4 files, an error is returned if
the user attempts to set the fill value after writing data to the
variable.
@ -497,7 +497,7 @@ nc_def_var_fletcher32(int ncid, int varid, int fletcher32)
netCDF classic or 64-bit offset files, or for netCDF-4 files, when
they wwere created with ::NC_CLASSIC_MODEL flag by nc_create().
@return ::NC_EPERM Attempt to create object in read-only file.
@return ::NC_EBADCHUNK Retunrs if the chunk size specified for a
@return ::NC_EBADCHUNK Returns if the chunk size specified for a
variable is larger than the length of the dimensions associated with
variable.

View File

@ -196,7 +196,7 @@ find_in_NCList_by_name(const char* path)
* netCDF-4 files.)
*
* @param index The index in the NC list.
* @param ncp Pointer that gets pointer to the next NC. Igored if
* @param ncp Pointer that gets pointer to the next NC. Ignored if
* NULL.
*
* @return ::NC_NOERR No error.

View File

@ -477,7 +477,7 @@ nc_utf8proc_ssize_t nc_utf8proc_decompose_char(
* string and orders the decomposed sequences correctly.
*
* If the @ref UTF8PROC_NULLTERM flag in `options` is set, processing
* will be stopped, when a NULL byte is encounted, otherwise `strlen`
* will be stopped, when a NULL byte is encountered, otherwise `strlen`
* bytes are processed. The result (in the form of 32-bit unicode
* codepoints) is written into the buffer being pointed to by
* `buffer` (which must contain at least `bufsize` entries). In case of

View File

@ -866,7 +866,7 @@ NC4_HDF5_inq_attid(int ncid, int varid, const char *name, int *attnump)
* @param ncid File and group ID.
* @param varid Variable ID.
* @param attnum The index number of the attribute.
* @param name Pointer that gets name of attrribute.
* @param name Pointer that gets name of attribute.
*
* @return ::NC_NOERR No error.
* @return ::NC_EBADID Bad ncid.

View File

@ -24,7 +24,7 @@ extern float nc4_chunk_cache_preemption;
*
* @param size Size in bytes to set cache.
* @param nelems Number of elements to hold in cache.
* @param preemption Premption stragety (between 0 and 1).
* @param preemption Preemption stragety (between 0 and 1).
*
* @return ::NC_NOERR No error.
* @return ::NC_EINVAL Bad preemption.
@ -47,7 +47,7 @@ nc_set_chunk_cache(size_t size, size_t nelems, float preemption)
*
* @param sizep Pointer that gets size in bytes to set cache.
* @param nelemsp Pointer that gets number of elements to hold in cache.
* @param preemptionp Pointer that gets premption stragety (between 0 and 1).
* @param preemptionp Pointer that gets preemption stragety (between 0 and 1).
*
* @return ::NC_NOERR No error.
* @author Ed Hartnett

View File

@ -915,7 +915,7 @@ int
hdf5_set_log_level()
{
/* If the user wants to completely turn off logging, turn off HDF5
logging too. Now I truely can't think of what to do if this
logging too. Now I truly can't think of what to do if this
fails, so just ignore the return code. */
if (nc_log_level == NC_TURN_OFF_LOGGING)
{

View File

@ -1534,7 +1534,7 @@ read_hdf5_att(NC_GRP_INFO_T *grp, hid_t attid, NC_ATT_INFO_T *att)
LOG((5, "%s: att->hdr.id %d att->hdr.name %s att->nc_typeid %d att->len %d",
__func__, att->hdr.id, att->hdr.name, (int)att->nc_typeid, att->len));
/* Get HDF5-sepecific info stuct for this attribute. */
/* Get HDF5-sepecific info struct for this attribute. */
hdf5_att = (NC_HDF5_ATT_INFO_T *)att->format_att_info;
/* Get type of attribute in file. */
@ -2046,7 +2046,7 @@ att_read_callbk(hid_t loc_id, const char *att_name, const H5A_info_t *ainfo,
att_iter_info *att_info = (att_iter_info *)att_data;
int retval = NC_NOERR;
/* Determin what list is being added to. */
/* Determine what list is being added to. */
list = att_info->var ? att_info->var->att : att_info->grp->att;
/* This may be an attribute telling us that strict netcdf-3 rules
@ -2112,7 +2112,7 @@ exit:
* @param var Pointer to the var info. NULL for global att reads.
*
* @return ::NC_NOERR No error.
* @return ::NC_EATTMETA Some error occured reading attributes.
* @return ::NC_EATTMETA Some error occurred reading attributes.
* @author Ed Hartnett
*/
int
@ -2439,7 +2439,7 @@ read_hdf5_obj(hid_t grpid, const char *name, const H5L_info_t *info,
&oinfo.statbuf)))
{
/* Allow NC_EBADTYPID to transparently skip over datasets
* which have a datatype that netCDF-4 doesn't undertand
* which have a datatype that netCDF-4 doesn't understand
* (currently), but break out of iteration for other
* errors. */
if (retval != NC_EBADTYPID)

View File

@ -289,7 +289,7 @@ give_var_secret_name(NC_VAR_INFO_T *var, const char *name)
* @param ncid File ID.
* @param name Name.
* @param xtype Type.
* @param ndims Number of dims. HDF5 has maximim of 32.
* @param ndims Number of dims. HDF5 has maximum of 32.
* @param dimidsp Array of dim IDs.
* @param varidp Gets the var ID.
*

View File

@ -908,7 +908,7 @@ var_create_dataset(NC_GRP_INFO_T *grp, NC_VAR_INFO_T *var, nc_bool_t write_dimid
}
}
/* If the user wants to fletcher error correcton, set that up now. */
/* If the user wants to fletcher error correction, set that up now. */
if (var->fletcher32)
if (H5Pset_fletcher32(plistid) < 0)
BAIL(NC_EHDFERR);

View File

@ -140,7 +140,7 @@ static void tracefail(const char* fcn);
#define H5LT_FILE_IMAGE_DONT_COPY 0x0002 /* The HDF5 lib won't copy */
/* user supplied image buffer. The same image is open with the core driver. */
#define H5LT_FILE_IMAGE_DONT_RELEASE 0x0004 /* The HDF5 lib won't */
/* deallocate user supplied image buffer. The user application is reponsible */
/* deallocate user supplied image buffer. The user application is responsible */
/* for doing so. */
#define H5LT_FILE_IMAGE_ALL 0x0007
@ -466,7 +466,7 @@ out:
/* Modified:
1. If the realloc new size is <= existing size,
then pretend we did a realloc and return success.
This avoids unneccessary heap operations.
This avoids unnecessary heap operations.
2. If the H5LT_FILE_IMAGE_DONT_COPY or
H5LT_FILE_IMAGE_DONT_RELEASE flag is set and the
realloc new size is > existing size, then fail
@ -1003,7 +1003,7 @@ traceflags(int flags)
case H5LT_FILE_IMAGE_DONT_RELEASE: /* 0x0004 The HDF5 lib won't
deallocate user supplied image
buffer. The user application
is reponsible for doing so. */
is responsible for doing so. */
strlcat(tmp,"DONT_RELEASE",sizeof(tmp));
break;
default: break;

View File

@ -1585,7 +1585,7 @@ NC3_inq_format(int ncid, int *formatp)
* \param ncid the ID of the open file.
* \param formatp a pointer that gets the extended format. Note that
* this is not the same as the format provided by nc_inq_format(). The
* extended foramt indicates the dispatch layer model. Classic, 64-bit
* extended format indicates the dispatch layer model. Classic, 64-bit
* offset, and CDF5 files all have an extended format of
* ::NC_FORMATX_NC3. Ignored if NULL.
* \param modep a pointer that gets the open/create mode associated with

View File

@ -468,7 +468,7 @@ px_rel(ncio_px *const pxp, off_t offset, int rflags)
RGN_MODIFIED.
For POSIX system, without NC_SHARE, this becomes the rel function
pointed to by the ncio rel function pointer. It mearly checks for
pointed to by the ncio rel function pointer. It merely checks for
file write permission, then calls px_rel to do everything.
nciop - pointer to ncio struct.
@ -1132,7 +1132,7 @@ typedef struct ncio_spx {
/* This function releases the region specified by offset.
For POSIX system, with NC_SHARE, this becomes the rel function
pointed to by the ncio rel function pointer. It mearly checks for
pointed to by the ncio rel function pointer. It merely checks for
file write permission, then calls px_rel to do everything.
nciop - pointer to ncio struct.
@ -1462,7 +1462,7 @@ ncio_spx_init2(ncio *const nciop, const size_t *const sizehintp)
/* First half of init for ncio_spx struct, setting the rel, get, move,
snyc, and free function pointers to the NC_SHARE versions of these
sync, and free function pointers to the NC_SHARE versions of these
functions (i.e. the ncio_spx_* functions).
*/
static void

View File

@ -293,7 +293,7 @@ NC4_inq_attid(int ncid, int varid, const char *name, int *attnump)
* @param ncid File and group ID.
* @param varid Variable ID.
* @param attnum The index number of the attribute.
* @param name Pointer that gets name of attrribute.
* @param name Pointer that gets name of attribute.
*
* @return ::NC_NOERR No error.
* @return ::NC_EBADID Bad ncid.

View File

@ -156,7 +156,7 @@ nc4_file_list_add(int ncid, const char *path, int mode, void **dispatchdata)
* metadata model, but don't know about struct NC.
*
* @param ncid The ncid of the file (aka ext_ncid).
* @param path A pointer that gets file name (< NC_MAX_NAME). Igored
* @param path A pointer that gets file name (< NC_MAX_NAME). Ignored
* if NULL.
* @param mode A pointer that gets the mode flag. Ignored if NULL.
* @param dispatchdata Void * that gets pointer to dispatch data,

View File

@ -229,7 +229,7 @@ NC4_inq_var_all(int ncid, int varid, char *name, nc_type *xtypep,
if (var->type_info->nc_type_class == NC_STRING)
{
assert(*(char **)var->fill_value);
/* This will allocate memeory and copy the string. */
/* This will allocate memory and copy the string. */
if (!(*(char **)fill_valuep = strdup(*(char **)var->fill_value)))
{
free(*(char **)fill_valuep);

View File

@ -58,7 +58,7 @@ NC4_inq_format(int ncid, int *formatp)
* @param ncid File ID (ignored).
* @param formatp a pointer that gets the extended format. Note that
* this is not the same as the format provided by nc_inq_format(). The
* extended foramt indicates the dispatch layer model. NetCDF-4 files
* extended format indicates the dispatch layer model. NetCDF-4 files
* will always get NC_FORMATX_NC4.
* @param modep a pointer that gets the open/create mode associated with
* this file. Ignored if NULL.

View File

@ -453,7 +453,7 @@ cmp_file(char *file1, char *file2, int *meta_read_us, int *data_read_us,
return 0;
}
/* Copy a netCDF file, changing cmode if desired, applying chuncking,
/* Copy a netCDF file, changing cmode if desired, applying chunking,
* deflate, shuffle, and endianness parameters if desired. */
static
int copy_file(char *file_name_in, char *file_name_out, int cmode_out,

View File

@ -3,7 +3,7 @@
# This shell runs some benchmarks that Elena ran as described here:
# http://hdfeos.org/workshops/ws06/presentations/Pourmal/HDF5_IO_Perf.pdf. Also
# added tst_files2, which needs to be run from a script because it is
# dependant on tst_files being run first, and the dependency tacking
# dependent on tst_files being run first, and the dependency tacking
# only works for .sh tests.
# Ed Hartnett

View File

@ -26,7 +26,7 @@
bytes. */
#define MAX_64OFFSET_BYTES 4294967292
/* Handy for constucting tests. */
/* Handy for constructing tests. */
#define QTR_CLASSIC_MAX (MAX_CLASSIC_BYTES/4)
/* We will create this file. */
@ -108,7 +108,7 @@ main(int argc, char **argv)
This has 3 dims, 4 vars. The dimensions are such that this will
(just barely) not fit in a classic format file. The first three
vars are cromwell, 536870911 bytes, washington, 2*536870911
bytes, and napolean, 536870911 bytes. That's a grand total of
bytes, and napoleon, 536870911 bytes. That's a grand total of
2147483644 bytes. Recall our magic limit for the combined size
of all fixed vars: 2 GiB - 4 bytes, or 2147483644. So you would
think these would exactly fit, unless you realized that
@ -140,7 +140,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 1, &dimids_gen[1],
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 1, &dimids_gen[0],
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 1, &dimids_gen[0],
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
@ -209,7 +209,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 1, &dimids_gen[1],
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 1, &dimids_gen[0],
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 1, &dimids_gen[0],
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
@ -233,7 +233,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Cromwell", NC_SHORT, 1, dimids_gen,
&cromwellid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_SHORT, 1, dimids_gen,
if ((res = nc_def_var(ncid, "Napoleon", NC_SHORT, 1, dimids_gen,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, dimids_gen,
@ -292,7 +292,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen,
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen,
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
@ -328,7 +328,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen,
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen,
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
@ -425,7 +425,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen1,
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen1,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 2, dimids_gen1,
@ -470,7 +470,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen1,
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen1,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Cromwell", NC_DOUBLE, 2, dimids_gen,
@ -507,7 +507,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen1,
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen1,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Cromwell", NC_DOUBLE, 2, dimids_gen,
@ -541,7 +541,7 @@ main(int argc, char **argv)
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
&washingtonid)))
ERR;
if ((res = nc_def_var(ncid, "Napolean", NC_SHORT, 2, dimids_gen1,
if ((res = nc_def_var(ncid, "Napoleon", NC_SHORT, 2, dimids_gen1,
&napoleanid)))
ERR;
if ((res = nc_def_var(ncid, "Cromwell", NC_SHORT, 2, dimids_gen,

View File

@ -118,7 +118,7 @@ test_two_growing_with_att(const char *testfile)
size_t start[ONE_DIM], count[ONE_DIM], index[ONE_DIM], len_in;
int v, r;
/* Create a file with one ulimited dimensions, and one var. */
/* Create a file with one unlimited dimensions, and one var. */
if((status=nc_create(testfile, diskmode|NC_CLOBBER, &ncid))) ERRSTAT(status);
if((status=nc_def_dim(ncid, DIM1_NAME, NC_UNLIMITED, &dimid))) ERRSTAT(status);
if((status=nc_def_var(ncid, VAR_NAME, NC_CHAR, 1, &dimid, &varid[0]))) ERRSTAT(status);

View File

@ -6,7 +6,7 @@
This program tests for a bug discovered with nofill mode that failed
only on file systems with block size in a particular range. This version
of the test showed failure using a normal nc_create() call rather tha
of the test showed failure using a normal nc_create() call rather than
a special nc__create() call to change the blksize.
*/

View File

@ -243,7 +243,7 @@ test_small_one(const char *testfile)
int ndims, nvars, natts, unlimdimid;
size_t start[NDIMS], count[NDIMS];
/* Create a file with one ulimited dimensions, and one var. */
/* Create a file with one unlimited dimensions, and one var. */
if (file_create(testfile, NC_CLOBBER, &ncid)) ERR;
if (nc_def_dim(ncid, DIM1_NAME, NC_UNLIMITED, &dimid)) ERR;
if (nc_def_var(ncid, VAR_NAME, NC_CHAR, 1, &dimid, &varid)) ERR;
@ -289,7 +289,7 @@ test_one_growing(const char *testfile)
/* Run this with and without fill mode. */
for (f = 0; f < 2; f++)
{
/* Create a file with one ulimited dimensions, and one var. */
/* Create a file with one unlimited dimensions, and one var. */
if (file_create(testfile, NC_CLOBBER, &ncid)) ERR;
if (nc_def_dim(ncid, DIM1_NAME, NC_UNLIMITED, &dimid)) ERR;
if (nc_def_var(ncid, VAR_NAME, NC_CHAR, 1, &dimid, &varid)) ERR;
@ -347,7 +347,7 @@ test_one_growing_with_att(const char *testfile)
size_t start[ONE_DIM], count[ONE_DIM], index[ONE_DIM], len_in;
int r;
/* Create a file with one ulimited dimensions, and one var. */
/* Create a file with one unlimited dimensions, and one var. */
if (file_create(testfile, NC_CLOBBER, &ncid)) ERR;
if (nc_def_dim(ncid, DIM1_NAME, NC_UNLIMITED, &dimid)) ERR;
if (nc_def_var(ncid, VAR_NAME, NC_CHAR, 1, &dimid, &varid)) ERR;
@ -403,7 +403,7 @@ test_two_growing_with_att(const char *testfile)
size_t start[ONE_DIM], count[ONE_DIM], index[ONE_DIM], len_in;
int v, r;
/* Create a file with one ulimited dimensions, and one var. */
/* Create a file with one unlimited dimensions, and one var. */
if (file_create(testfile, NC_CLOBBER, &ncid)) ERR;
if (nc_def_dim(ncid, DIM1_NAME, NC_UNLIMITED, &dimid)) ERR;
if (nc_def_var(ncid, VAR_NAME, NC_CHAR, 1, &dimid, &varid[0])) ERR;
@ -464,7 +464,7 @@ test_one_with_att(const char *testfile)
int ndims, nvars, natts, unlimdimid;
size_t start[NDIMS], count[NDIMS];
/* Create a file with one ulimited dimensions, and one var. */
/* Create a file with one unlimited dimensions, and one var. */
if (file_create(testfile, NC_CLOBBER, &ncid)) ERR;
if (nc_def_dim(ncid, DIM1_NAME, NC_UNLIMITED, &dimid)) ERR;
if (nc_def_var(ncid, VAR_NAME, NC_CHAR, 1, &dimid, &varid)) ERR;

View File

@ -68,7 +68,7 @@ static const struct Test utf8poems[] = {
"Τὴ γλῶσσα μοῦ ἔδωσαν ἑλληνικὴτὸ σπίτι φτωχικὸ στὶς ἀμμουδιὲς τοῦ Ὁμήρου. Μονάχη ἔγνοια ἡ γλῶσσα μου στὶς ἀμμουδιὲς τοῦ Ὁμήρου.ἀπὸ τὸ Ἄξιον ἐστί τοῦ Ὀδυσσέα Ἐλύτη"
},
{0,"2.6",
"Russion",
"Russian",
"На берегу пустынных волнСтоял он, дум великих полн,И вдаль глядел. Пред ним широкоРека неслася; бедный чёлнПо ней стремился одиноко.По мшистым, топким берегамЧернели избы здесь и там,Приют убогого чухонца;И лес, неведомый лучамВ тумане спрятанного солнца, Кругом шумел."
},
{0,"2.7",

View File

@ -2,7 +2,7 @@
Copyright 2018 University Corporation for Atmospheric Research/Unidata
See COPYRIGHT file for conditions of use.
The cdm_* tests confirm complience with the Common Data Model. This
The cdm_* tests confirm compliance with the Common Data Model. This
file creates some sample data structures to hold sea soundings.
$Id: cdm_sea_soundings.c,v 1.5 2010/05/25 13:53:04 ed Exp $

View File

@ -14,7 +14,7 @@
#define NDIMS3 3
/* Calculate the waste of the chunking. A waste of 10% means the
* chunked data is 10% larget then the unchunked data. */
* chunked data is 10% larger then the unchunked data. */
static int
calculate_waste(int ndims, size_t *dimlen, size_t *chunksize, float *waste)
{

View File

@ -618,7 +618,7 @@ main(int argc, char **argv)
count[0] = 1;
if (nc_put_vara_ulonglong(ncid, 0, start, count, uint64_data)) ERR;
/* Check dimension informaiton again. Now the length of this
/* Check dimension information again. Now the length of this
* dimension should be one. */
if (nc_inq_dim(ncid, dimid, name_in, &len_in)) ERR;
if (len_in != 1 || strcmp(name_in, LEVEL_NAME)) ERR;

View File

@ -28,7 +28,7 @@
bytes. */
#define MAX_64OFFSET_BYTES 4294967292
/* Handy for constucting tests. */
/* Handy for constructing tests. */
#define QTR_CLASSIC_MAX (MAX_CLASSIC_BYTES/4)
/* We will create this file. */

View File

@ -140,7 +140,7 @@ main(int argc, char **argv)
/* if (nc_rename_var(ncid, varid1, D2_NAME)) ERR; */
if (nc_close(ncid)) ERR;
/* Reopen file and check, this should work but doesnt yet. */
/* Reopen file and check, this should work but doesn't yet. */
if (nc_open(file_name, NC_WRITE, &ncid)) ERR;
/* if (nc_inq_dimid(ncid, D1_NAME, &dimid_in)) ERR; */
/* if (dimid_in != dimid1) ERR; */

View File

@ -58,7 +58,7 @@ variables:
char Drifters.Region(Drifters, maxStrlen64) ;
Drifters.Region:Description = "Short description of study area (ex: Oregon, California, Southern Ocean, etc.)" ;
double Drifters.Decimal_Day(Drifters) ;
Drifters.Decimal_Day:Description = "The time of the mesurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000." ;
Drifters.Decimal_Day:Description = "The time of the measurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000." ;
char Drifters.Calibration_File(Drifters, maxStrlen64) ;
Drifters.Calibration_File:Description = "Path to the file on our file server of the calibration file for the drifter." ;
char Drifters.Drifter_Type(Drifters, maxStrlen64) ;

View File

@ -240,7 +240,7 @@ variables:
float tpt(time) ;
tpt:long_name = "Temperature" ;
tpt:units = "kelvin" ;
tpt:hieght = "Leave mispelled for NCO User\'s guide example" ;
tpt:hieght = "Leave misspelled for NCO User\'s guide example" ;
double rec_var_dbl_mss_val_dbl_upk(time) ;
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;

View File

@ -251,7 +251,7 @@ variables:
float tpt(time) ;
tpt:long_name = "Temperature" ;
tpt:units = "kelvin" ;
tpt:hieght = "Leave hieght mispelled for NCO User\'s guide example" ;
tpt:hieght = "Leave hieght misspelled for NCO User\'s guide example" ;
double rec_var_dbl_mss_val_dbl_upk(time) ;
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;

View File

@ -241,7 +241,7 @@ variables:
float tpt(time) ;
tpt:long_name = "Temperature" ;
tpt:units = "kelvin" ;
tpt:hieght = "Leave mispelled for NCO User\'s guide example" ;
tpt:hieght = "Leave misspelled for NCO User\'s guide example" ;
double rec_var_dbl_mss_val_dbl_upk(time) ;
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;

View File

@ -240,7 +240,7 @@ variables:
float tpt(time) ;
tpt:long_name = "Temperature" ;
tpt:units = "kelvin" ;
tpt:hieght = "Leave mispelled for NCO User\'s guide example" ;
tpt:hieght = "Leave misspelled for NCO User\'s guide example" ;
double rec_var_dbl_mss_val_dbl_upk(time) ;
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;

View File

@ -58,7 +58,7 @@ variables:
char Drifters.Region(Drifters, maxStrlen64) ;
Drifters.Region:Description = "Short description of study area (ex: Oregon, California, Southern Ocean, etc.)" ;
double Drifters.Decimal_Day(Drifters) ;
Drifters.Decimal_Day:Description = "The time of the mesurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000." ;
Drifters.Decimal_Day:Description = "The time of the measurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000." ;
char Drifters.Calibration_File(Drifters, maxStrlen64) ;
Drifters.Calibration_File:Description = "Path to the file on our file server of the calibration file for the drifter." ;
char Drifters.Drifter_Type(Drifters, maxStrlen64) ;

View File

@ -37,7 +37,7 @@ variables:
" The metar2nc decoder creates a netCDF file based on a set of variables \n",
" that are commonly used in display programs. Since not all the variables\n",
" that are possible(over 135) are written, the raw METAR report is stored \n",
" for future decoding of variables not explicited specified. The \n",
" for future decoding of variables not explicitly specified. The \n",
" lastChild variable gives the record number of the most recent report \n",
" for a particular station and the prevChild variable is the record \n",
" number of the next most recent. By following the links, all the reports\n",

View File

@ -100,7 +100,7 @@ variables:
:DOC_040 = "Units : millimeters Missing Data Flag : 9999 \r" ;
:DOC_041 = "Existing : Yes Operational : Yes \r" ;
:DOC_042 = "Sat. Trans. : Yes Distribution : 1946-2008\r" ;
:DOC_043 = "Refernce Levl: All heights have been referred to the station tide \r" ;
:DOC_043 = "Reference Levl: All heights have been referred to the station tide \r" ;
:DOC_044 = " staff zero which is linked to fixed bench marks.\r" ;
:DOC_045 = " Based on residuals, a level shift was adjusted\r" ;
:DOC_046 = " by adding -60 mm to 18Z 29 Dec 1950 to\r" ;

View File

@ -75,7 +75,7 @@ Attributes {
String Description "Short description of study area (ex: Oregon, California, Southern Ocean, etc.)";
}
Decimal_Day {
String Description "The time of the mesurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000.";
String Description "The time of the measurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000.";
}
Calibration_File {
String Description "Path to the file on our file server of the calibration file for the drifter.";

View File

@ -301,7 +301,7 @@ Attributes {
tpt {
String long_name "Temperature";
String units "kelvin";
String hieght "Leave mispelled for NCO User's guide example";
String hieght "Leave misspelled for NCO User's guide example";
}
rec_var_dbl_mss_val_dbl_upk {
String long_name "record variable, double, with double missing values";

View File

@ -312,7 +312,7 @@ Attributes {
tpt {
String long_name "Temperature";
String units "kelvin";
String hieght "Leave hieght mispelled for NCO User's guide example";
String hieght "Leave hieght misspelled for NCO User's guide example";
}
rec_var_dbl_mss_val_dbl_upk {
String long_name "record variable, double, with double missing values";

View File

@ -301,7 +301,7 @@ Attributes {
tpt {
String long_name "Temperature";
String units "kelvin";
String hieght "Leave mispelled for NCO User's guide example";
String hieght "Leave misspelled for NCO User's guide example";
}
rec_var_dbl_mss_val_dbl_upk {
String long_name "record variable, double, with double missing values";

View File

@ -301,7 +301,7 @@ Attributes {
tpt {
String long_name "Temperature";
String units "kelvin";
String hieght "Leave mispelled for NCO User's guide example";
String hieght "Leave misspelled for NCO User's guide example";
}
rec_var_dbl_mss_val_dbl_upk {
String long_name "record variable, double, with double missing values";

View File

@ -20,7 +20,7 @@ else
echo "*** XFail: ${NCDUMP} ${URL} failed"
fi
# Now check that with [fillmismatch], we get sucess
# Now check that with [fillmismatch], we get success
URL="[fillmismatch]${URL}"
rm -f ./tmp_tst_mismatch
if ${NCDUMP} "${URL}" > ./tmp_tst_mismatch ; then

View File

@ -113,7 +113,7 @@ computewhich() { # set REMOTETESTS and constrained
constrain() {
T="$1;;" # add semicolons to fake out the cut command
# see if we are using constraints will set testname and ce and testno and contrained
# see if we are using constraints will set testname and ce and testno and constrained
testname=`echo -n $T | cut "-d;" -f1`
testno=`echo -n $T | cut "-d;" -f2`
ce=`echo -n $T | cut "-d;" -f3`

View File

@ -54,7 +54,7 @@ endif
man_MANS = ncdump.1 nccopy.1
if BUILD_TESTSETS
# C programs needed by shell scritps for classic tests.
# C programs needed by shell scripts for classic tests.
check_PROGRAMS = rewrite-scalar ref_ctest ref_ctest64 ncdump tst_utf8 \
bom tst_dimsizes nctrunc

View File

@ -651,7 +651,7 @@ ncvlen_val_equals(const nctype_t *this,
return true;
}
/* Determine if two compound values are equal, by testing eqaulity of
/* Determine if two compound values are equal, by testing equality of
* each member field. */
bool_t
nccomp_val_equals(const nctype_t *this,

View File

@ -771,7 +771,7 @@ pr_att(
if (ncid == getrootid(ncid)
&& varid == NC_GLOBAL
&& strcmp(att.name,NCPROPS)==0)
return; /* will be printed elsewere */
return; /* will be printed elsewhere */
#endif
NC_CHECK( nc_inq_att(ncid, varid, att.name, &att.type, &att.len) );
att.tinfo = get_typeinfo(att.type);

View File

@ -790,7 +790,7 @@ out :
return NC_NOERR;
}
/* calculate the followings
/* calculate the following
* ncp->begin_var first variable's offset, file header extent
* ncp->begin_rec first record variable's offset
* ncp->recsize sum of all single record size of all variables
@ -2149,7 +2149,7 @@ val_get_NC(int fd, NC *ncp)
getbuf.pos = (char*)getbuf.pos + 4;
if (memcmp(magic, ncmagic, 3) != 0) {
if (verbose) printf("Error: Unknow file signature\n");
if (verbose) printf("Error: Unknown file signature\n");
if (verbose) printf("\tExpecting \"CDF1\", \"CDF2\", or \"CDF5\", but got \"%4s\"\n",magic);
status = NC_ENOTNC;
goto fn_exit;
@ -2166,7 +2166,7 @@ val_get_NC(int fd, NC *ncp)
getbuf.version = 5;
ncp->format = 5;
} else {
if (verbose) printf("Error: Unknow file signature\n");
if (verbose) printf("Error: Unknown file signature\n");
if (verbose) printf("\tExpecting \"CDF1\", \"CDF2\", or \"CDF5\", but got \"%4s\"\n",magic);
status = NC_ENOTNC;
goto fn_exit;

View File

@ -151,7 +151,7 @@ if test "x$T4" = x1 ; then
echo "*** Test nccopy -c with unlimited dimension; classic ->enhanced"
reset
./tst_chunking tst_nc5.nc unlimited # should produce modified tmp_nc5.nc iwth ivar of rank 2
./tst_chunking tst_nc5.nc unlimited # should produce modified tmp_nc5.nc with ivar of rank 2
${NCDUMP} -n tst_nc5 tst_nc5.nc > tst_nc5.cdl
${NCCOPY} -c ivar:5,3 tst_nc5.nc tmp_nc5.nc
${NCDUMP} -n tst_nc5 tmp_nc5.nc > tmp_nc5.cdl

View File

@ -111,7 +111,7 @@ The basic idea is to split the set of dimensions into
groups and iterate over each group by recursion.
A group is defined as the range of indices starting at an
unlimited dimension upto (but not including) the next
unlimited dimension up to (but not including) the next
unlimited.
The first group starts at index 0, even if dimension 0 is not
@ -199,7 +199,7 @@ generate_array(Symbol* vsym,
/**
The basic idea is to split the set of dimensions into groups
and iterate over each group. A group is defined as the
range of indices starting at an unlimited dimension upto
range of indices starting at an unlimited dimension up to
(but not including) the next unlimited. The first group
starts at index 0, even if dimension 0 is not unlimited.
The last group is everything from the last unlimited
@ -252,7 +252,7 @@ generate_arrayr(Symbol* vsym,
} else {/* !islastgroup */
/* Our datalist must be a list of compounds representing
the next unlimited; so walk the subarray from this index
upto next unlimited.
up to next unlimited.
*/
ASSERT((dimindex < nextunlimited));
ASSERT((isunlimited(dimset,nextunlimited)));

View File

@ -974,7 +974,7 @@ One of the issues that must be addressed by any bottom-up
parser is handling the accumulation of sets of items (nodes,
etc.). The YACC/Bison parse stack cannot be used
because the set of accumulated nodes is unbounded
and the YACC stack mechansim is bounded (i.e. each rule
and the YACC stack mechanism is bounded (i.e. each rule
has a bounded right hand side length).
<p>
The node stacking set of cliches is ubiquitous in the

View File

@ -1364,7 +1364,7 @@ makespecial(int tag, Symbol* vsym, Symbol* tsym, void* data, int isconst)
special->flags |= _FILTER_FLAG;
else {
efree(special->_FilterParams);
derror("_Filter: unparseable filter spec: %s",sdata);
derror("_Filter: unparsable filter spec: %s",sdata);
}
#else
derror("%s: the filter attribute requires netcdf-4 to be enabled",specialname(tag));

View File

@ -3388,7 +3388,7 @@ makespecial(int tag, Symbol* vsym, Symbol* tsym, void* data, int isconst)
special->flags |= _FILTER_FLAG;
else {
efree(special->_FilterParams);
derror("_Filter: unparseable filter spec: %s",sdata);
derror("_Filter: unparsable filter spec: %s",sdata);
}
#else
derror("%s: the filter attribute requires netcdf-4 to be enabled",specialname(tag));

View File

@ -1442,7 +1442,7 @@ variables:
TROP_P:_ChunkSizes = 1, 96, 144 ;
double TROP_PD(time, lev, lat, lon) ;
TROP_PD:units = "probability" ;
TROP_PD:long_name = "Tropopause Probabilty" ;
TROP_PD:long_name = "Tropopause Probability" ;
TROP_PD:cell_methods = "time: mean" ;
TROP_PD:_Storage = "chunked" ;
TROP_PD:_ChunkSizes = 1, 30, 96, 144 ;

View File

@ -53,7 +53,7 @@ test_ncvarput(path)
}
/* opened in data mode, try putting and getting hypercubes of each type */
nerrs += test_varputget (cdfid); /* prints messages for discrepencies */
nerrs += test_varputget (cdfid); /* prints messages for discrepancies */
/* find a variable with at least one dimension */
iv = 0;

View File

@ -49,7 +49,7 @@ test_ncvarputg(path)
}
/* opened in data mode, try putting and getting hypercubes of each type.
* prints out messages for discrepencies */
* prints out messages for discrepancies */
nerrs += test_varputgetg (cdfid);
/* find a variable with at least one dimension */

View File

@ -95,7 +95,7 @@ oc_close(OCobject link)
This procedure is used to send requests to the server
to obtain either a DAS, DDS, or DATADDS response
and produce a corresponding tree.
It fetchs and parses a given class of DXD the server specified
It fetches and parses a given class of DXD the server specified
at open time, and using a specified set of constraints
and flags.

View File

@ -38,7 +38,7 @@ ocstrndup(const char* s, size_t len)
}
/* Do not trust strncmp semantics; this one
compares upto len chars or to null terminators */
compares up to len chars or to null terminators */
int
ocstrncmp(const char* s1, const char* s2, size_t len)
{

View File

@ -158,7 +158,7 @@ extern int xxdr_float(XXDR* , float*);
extern int xxdr_double(XXDR* , double*);
/* get some bytes from underlying stream;
Warning: will read upto the next XDRUNIT boundary
Warning: will read up to the next XDRUNIT boundary
*/
extern int xxdr_opaque(XXDR*, char*, off_t);