![]() This expense is incurred when the enddef function is called: nc_enddef() in C, NF_ENDDEF() in Fortran, after a previous call to the redef function: nc_redef() in C or NF_REDEF() in Fortran. A disadvantage of this organization is that any operation on a netCDF dataset that requires the header to grow (or, less likely, to shrink), for example adding new dimensions or new variables, requires moving the data by copying it. ![]() This has the advantage that netCDF files are compact, requiring very little overhead to store the ancillary data that makes the datasets self-describing. ![]() The header also contains dimension lengths and information needed to map multidimensional indices for each variable to the appropriate offsets.īy default, this header has little usable extra space it is only as large as it needs to be for the dimensions, variables, and attributes (including all the attribute values) in the netCDF dataset, with a small amount of extra space from rounding up to the nearest disk block size. The information about each variable includes the offset to the beginning of the variable's data for fixed-size variables or the relative offset of other variables within a record. ![]() The header at the beginning of the file contains information about the dimensions, variables, and attributes in the file, including their names, types, and other characteristics. This form is very similar to XDR (eXternal Data Representation), extended to support efficient storage of arrays of non-byte data. a data part, comprising fixed-size data, containing the data for variables that don't have an unlimited dimension and variable-size data, containing the data for variables that have an unlimited dimension.īoth the header and data parts are represented in a machine-independent form. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |