Go to the documentation of this file.
33 int32 sdsindex, sdsid;
34 int32
rank, numbertype;
35 int32 tagarray1[255], refarray1[255], nrefs1, nattrs1;
44 if ((vid = Vfind(fid, vgname)) <= 0)
return (
ERROR);
45 vg = Vattach(fid, vid,
"r");
46 nrefs1 = Vntagrefs(vg);
48 Vgettagrefs(vg, tagarray1, refarray1, nattrs1);
50 for (
j = 0;
j < nrefs1;
j++) {
51 if ((tagarray1[
j] == DFTAG_NDG) ||
52 (tagarray1[
j] == DFTAG_SD)) {
53 sdsindex = SDreftoindex(sdfid, refarray1[
j]);
54 sdsid = SDselect(sdfid, sdsindex);
55 SDgetinfo(sdsid, lname, &
rank, dimsizes, &numbertype,
57 if (!strcmp(sdslabel, lname)) {
int rdsdsid(int32 fid, int32 sdfid, char *vgname, char *sdslabel)
int pwarning(char *string)
Extra metadata that will be written to the HDF4 file l2prod rank