|
| int | nc4_var_list_add (NC_GRP_INFO_T *grp, const char *name, int ndims, NC_VAR_INFO_T **var) |
| static void | pdb_rtrim (char *s) |
| static void | pdb_trim (char *s) |
| static void | pdb_copy_field (const char *line, size_t linelen, int start, int end, char *dest, size_t destlen) |
| static int | pdb_parse_float (const char *line, size_t linelen, int start, int end, float *value) |
| static int | pdb_parse_int (const char *line, size_t linelen, int start, int end, int *value) |
| static int | pdb_append_text (char **dest, const char *fragment) |
| static void | pdb_free_file_info (NC_PDB_FILE_INFO_T *pdb_file) |
| static int | pdb_set_var_type (nc_type xtype, int endianness, size_t type_size, char *type_name, NC_TYPE_INFO_T **typep) |
| static int | pdb_var_list_add_full (NC_GRP_INFO_T *grp, const char *name, int ndims, nc_type xtype, int endianness, size_t type_size, char *type_name, void *fill_value, int contiguous, size_t *chunksizes, void *format_var_info, NC_VAR_INFO_T **var) |
| static int | pdb_add_string_var (NC_GRP_INFO_T *grp, const char *name, int atom_dimid, size_t str_len, NC_VAR_INFO_T **var) |
| static int | pdb_add_char_att (NC_GRP_INFO_T *grp, const char *name, const char *value) |
| static NC_PDB_FILE_INFO_T * | pdb_parse_file (const char *path, int *retvalp) |
| static int | pdb_build_metadata (NC_FILE_INFO_T *h5) |
| int | NC_PDB_open (const char *path, int mode, int basepe, size_t *chunksizehintp, void *parameters, const NC_Dispatch *dispatch, int ncid) |
| int | NC_PDB_close (int ncid, void *ignore) |
| int | NC_PDB_abort (int ncid) |
| int | NC_PDB_inq_format (int ncid, int *formatp) |
| int | NC_PDB_inq_format_extended (int ncid, int *formatp, int *modep) |
| static size_t | pdb_type_size (nc_type xtype) |
| static int | pdb_read_coord_var (const float *src, size_t natoms, const size_t *start, const size_t *count, void *value, nc_type value_type) |
| static int | pdb_read_1d_var (const void *src, size_t start, size_t count, void *value, nc_type src_type, nc_type value_type) |
| static int | pdb_read_string_var (const char *src, size_t row_len, const size_t *start, const size_t *count, void *value) |
| int | NC_PDB_get_vara (int ncid, int varid, const size_t *start, const size_t *count, void *value, nc_type memtype) |
Legacy PDB User-Defined Format (UDF) dispatch layer.
V3.3.0 Sprint 2: read-only fixed-column parser for legacy PDB (Protein Data Bank) files. Exposes atom coordinates, per-atom identity fields, HEADER/TITLE/COMPND/SOURCE attributes, and CRYST1 unit-cell attributes through the netCDF-4 data model using the UDF7 dispatch table.
Known limitations carried forward to later sprints:
- SEQRES-derived sequence data is not yet exposed.
- Hybrid-36 encoded serial/residue numbers are not supported.
- Multi-model files are parsed but not yet covered by tests.
- Author
- Edward Hartnett
- Date
- 2026-07-29
- Copyright
- Intelligent Data Design, Inc. All rights reserved.