@@ -82,10 +82,10 @@ hdf4_rec_grp_del(NC_GRP_INFO_T *grp)
8282 * See http://www.hdfgroup.org/training/HDFtraining/UsersGuide/Fundmtls.fm3.html
8383 * for more information re: HDF4 types.
8484 *
85- * @param h5 Pointer to HDF5 file info struct.
85+ * @param h5 Pointer to file info struct.
8686 * @param hdf4_typeid Type ID for hdf4 datatype.
8787 * @param xtype Pointer that gets netcdf type. Ignored if NULL.
88- * @param endniannessp Pointer that gets endianness. Ignored if NULL.
88+ * @param endiannessp Pointer that gets endianness. Ignored if NULL.
8989 * @param type_sizep Pointer that gets type size. Ignored if NULL.
9090 * @param type_name Pointer that gets the type name. Ignored if NULL.
9191 *
@@ -251,9 +251,9 @@ nc4_set_var_type(nc_type xtype, int endianness, size_t type_size, char *type_nam
251251}
252252
253253/**
254- * @internal Read an attribute from a HDF4 file.
254+ * @internal Read an attribute from an HDF4 file.
255255 *
256- * @param h5 Pointer to the file metadata struct.
256+ * @param h5 Pointer to the file info struct.
257257 * @param var Pointer to variable metadata struct or NULL for global
258258 * attributes.
259259 * @param a Index of attribute to read.
@@ -327,12 +327,11 @@ hdf4_read_att(NC_FILE_INFO_T *h5, NC_VAR_INFO_T *var, int a)
327327}
328328
329329/**
330- * @internal Read a HDF4 dimension. As new dimensions are found, add
330+ * @internal Read an HDF4 dimension. As new dimensions are found, add
331331 * them to the metadata list of dimensions.
332332 *
333- * @param h5 Pointer to the file metadata struct.
334- * @param var Pointer to variable metadata struct or NULL for global
335- * attributes.
333+ * @param h5 Pointer to the file info struct.
334+ * @param var Pointer to variable metadata struct.
336335 * @param rec_dim_len Actual length of first dim for this SD.
337336 * @param d Dimension index for this SD.
338337 *
@@ -391,11 +390,18 @@ hdf4_read_dim(NC_FILE_INFO_T *h5, NC_VAR_INFO_T *var, int rec_dim_len, int d)
391390}
392391
393392/**
394- * @internal Create a new variable and insert int relevant lists
393+ * @internal Create a new variable and insert into relevant lists.
395394 *
396- * @param grp the containing group
397- * @param name the name for the new variable
398- * @param ndims the rank of the new variable
395+ * @param grp The containing group.
396+ * @param name The name for the new variable.
397+ * @param ndims The rank of the new variable.
398+ * @param xtype The netCDF type of the variable.
399+ * @param endianness The endianness of the data.
400+ * @param type_size The size in bytes of one element of this type.
401+ * @param type_name A name for the type.
402+ * @param fill_value Pointer to fill value, or NULL.
403+ * @param contiguous Non-zero for contiguous storage, zero for chunked.
404+ * @param chunksizes Array of chunk sizes, or NULL.
399405 * @param format_var_info Pointer to format-specific var info struct.
400406 * @param var Pointer in which to return a pointer to the new var.
401407 *
@@ -424,7 +430,7 @@ nc4_var_list_add_full(NC_GRP_INFO_T* grp, const char* name, int ndims, nc_type x
424430 if ((retval = nc4_set_var_type (xtype , endianness , type_size , type_name ,
425431 & (* var )-> type_info )))
426432 return retval ;
427- /* Propate the endianness to the variable */
433+ /* Propagate the endianness to the variable */
428434 (* var )-> endianness = (* var )-> type_info -> endianness ;
429435
430436 (* var )-> type_info -> rc ++ ;
@@ -456,10 +462,10 @@ nc4_var_list_add_full(NC_GRP_INFO_T* grp, const char* name, int ndims, nc_type x
456462}
457463
458464/**
459- * @internal Read a HDF4 variable, including its associated dimensions
465+ * @internal Read an HDF4 variable, including its associated dimensions
460466 * and attributes.
461467 *
462- * @param h5 Pointer to the file metadata struct.
468+ * @param h5 Pointer to the file info struct.
463469 * @param v Index of variable to read.
464470 *
465471 * @return ::NC_NOERR No error.
@@ -594,8 +600,8 @@ hdf4_read_var(NC_FILE_INFO_T *h5, int v)
594600 * @param parameters pointer to struct holding extra data (e.g. for
595601 * parallel I/O) layer. Ignored if NULL. Ignored by this function.
596602 * @param dispatch Pointer to the dispatch table for this file.
597- * @param nc_file Pointer to an instance of NC. The ncid has already
598- * been assigned, and is in nc_file->ext_ncid .
603+ * Ignored by this function.
604+ * @param ncid The already- assigned ncid for this file .
599605 *
600606 * @return ::NC_NOERR No error.
601607 * @return ::NC_EINVAL Invalid input.
0 commit comments