dgroup.c#187int nc_inq_varids(int ncid, int *nvars, int *varids)
#192    return ncp->dispatch->inq_varids(ncid,nvars,varids);
nc3dispatch.c#290NC3_inq_varids(int ncid, int *nvarsp, int *varids)
#298    if (varids)
#300            varids[v] = v;
nc4grp.c#388NC4_inq_varids(int ncid, int *nvars, int *varids)
#408      if (varids)
#410     varids[v] = v;
#420     if (varids)
#421        varids[num_vars] = var->varid;
ncpdispatch.c#1307NCP_inq_varids(int ncid, int *nvarsp, int *varids)
#1315    if(varids)
#1317            varids[v] = v;
netcdf.h#560nc_inq_varids(int ncid, int *nvars, int *varids);
tst_atts1.c#909      int varids[1];
#922      if (nc_inq_varids(ncid, &nvarsvarids)) ERR;
#923      if (nvars != 1 || varids[0] != 0) ERR;
tst_coords3.c#211      int nciddimids[NDIMS], varids[NVARS], data_dimids[DATA_NDIMS];
#226      if (nc_def_var(ncidT_NAMENC_FLOATDATA_NDIMSdata_dimids, &varids[0])) ERR;
#227      if (nc_put_att_text(ncidvarids[0], LONG_NAME, strlen(TEMPERATURE),
#229      if (nc_put_att_text(ncidvarids[0], UNITS, strlen(KELVIN), KELVIN)) ERR;
#230      if (nc_put_att_text(ncidvarids[0], COORDINATES_NAME, strlen(LONLAT_COORDINATES),
#234      if (nc_def_var(ncidXC_NAMENC_FLOAT, 1, &dimids[0], &varids[1])) ERR;
#235      if (nc_put_att_text(ncidvarids[1], AXIS, strlen(X_NAME), X_NAME)) ERR;
#236      if (nc_put_att_text(ncidvarids[1], LONG_NAME, strlen(X_LONG_NAME),
#238      if (nc_put_att_text(ncidvarids[1], UNITS, strlen(METER), METER)) ERR;
#241      if (nc_def_var(ncidYC_NAMENC_FLOAT, 1, &dimids[1], &varids[2])) ERR;
#242      if (nc_put_att_text(ncidvarids[2], AXIS, strlen(Y_NAME), Y_NAME)) ERR;
#243      if (nc_put_att_text(ncidvarids[2], LONG_NAME, strlen(Y_LONG_NAME),
#245      if (nc_put_att_text(ncidvarids[2], UNITS, strlen(METER), METER)) ERR;
#248      if (nc_def_var(ncidLEV_NAMENC_FLOAT, 1, &dimids[2], &varids[3])) ERR;
#249      if (nc_put_att_text(ncidvarids[3], LONG_NAME, strlen(LEV_LONG_NAME),
#251      if (nc_put_att_text(ncidvarids[3], UNITS, strlen(HPA), HPA)) ERR;
#256      if (nc_def_var(ncidLON_NAMENC_FLOATCOORD_NDIMScoord_dimids, &varids[4])) ERR;
#257      if (nc_put_att_text(ncidvarids[4], LONG_NAME, strlen(LON_LONG_NAME),
#259      if (nc_put_att_text(ncidvarids[4], UNITS, strlen(DEGREES_EAST), DEGREES_EAST)) ERR;
#262      if (nc_def_var(ncidLAT_NAMENC_FLOATCOORD_NDIMScoord_dimids, &varids[5])) ERR;
#263      if (nc_put_att_text(ncidvarids[5], LONG_NAME, strlen(LAT_LONG_NAME),
#265      if (nc_put_att_text(ncidvarids[5], UNITS, strlen(DEGREES_NORTH), DEGREES_NORTH)) ERR;
#285      int nciddimids[NDIMS], varids[NVARS], data_dimids[DATA_NDIMS];
#312      if (nc_def_var(ncidT_NAMENC_FLOATDATA_NDIMSdata_dimids, &varids[0])) ERR;
#313      if (nc_put_att_text(ncidvarids[0], LONG_NAME, strlen(TEMPERATURE),
#315      if (nc_put_att_text(ncidvarids[0], UNITS, strlen(KELVIN), KELVIN)) ERR;
#316      if (nc_put_att_text(ncidvarids[0], COORDINATES_NAME, strlen(LONLAT_COORDINATES),
#320      if (nc_def_var(ncidXC_NAMENC_FLOAT, 1, &dimids[0], &varids[1])) ERR;
#321      if (nc_put_att_text(ncidvarids[1], AXIS, strlen(X_NAME), X_NAME)) ERR;
#322      if (nc_put_att_text(ncidvarids[1], LONG_NAME, strlen(X_LONG_NAME),
#324      if (nc_put_att_text(ncidvarids[1], UNITS, strlen(METER), METER)) ERR;
#327      if (nc_def_var(ncidYC_NAMENC_FLOAT, 1, &dimids[1], &varids[2])) ERR;
#328      if (nc_put_att_text(ncidvarids[2], AXIS, strlen(Y_NAME), Y_NAME)) ERR;
#329      if (nc_put_att_text(ncidvarids[2], LONG_NAME, strlen(Y_LONG_NAME),
#331      if (nc_put_att_text(ncidvarids[2], UNITS, strlen(METER), METER)) ERR;
#334      if (nc_def_var(ncidLEV_NAMENC_FLOAT, 1, &dimids[2], &varids[3])) ERR;
#335      if (nc_put_att_text(ncidvarids[3], LONG_NAME, strlen(LEV_LONG_NAME),
#337      if (nc_put_att_text(ncidvarids[3], UNITS, strlen(HPA), HPA)) ERR;
#342      if (nc_def_var(ncidLON_NAMENC_FLOATCOORD_NDIMScoord_dimids, &varids[4])) ERR;
#343      if (nc_put_att_text(ncidvarids[4], LONG_NAME, strlen(LON_LONG_NAME),
#345      if (nc_put_att_text(ncidvarids[4], UNITS, strlen(DEGREES_EAST), DEGREES_EAST)) ERR;
#348      if (nc_def_var(ncidLAT_NAMENC_FLOATCOORD_NDIMScoord_dimids, &varids[5])) ERR;
#349      if (nc_put_att_text(ncidvarids[5], LONG_NAME, strlen(LAT_LONG_NAME),
#351      if (nc_put_att_text(ncidvarids[5], UNITS, strlen(DEGREES_NORTH), DEGREES_NORTH)) ERR;
#380      int nciddimids[NDIMS], varids[NVARS], data_dimids[DATA_NDIMS];
#407      if (nc_def_var(ncidT_NAMENC_FLOATDATA_NDIMSdata_dimids, &varids[0])) ERR;
#408      if (nc_put_att_text(ncidvarids[0], LONG_NAME, strlen(TEMPERATURE),
#410      if (nc_put_att_text(ncidvarids[0], UNITS, strlen(KELVIN), KELVIN)) ERR;
#411      if (nc_put_att_text(ncidvarids[0], COORDINATES_NAME, strlen(LONLAT_COORDINATES),
#418      if (nc_def_var(ncidXC_NAMENC_FLOAT, 1, &dimids[0], &varids[1])) ERR;
#419      if (nc_put_att_text(ncidvarids[1], AXIS, strlen(X_NAME), X_NAME)) ERR;
#420      if (nc_put_att_text(ncidvarids[1], LONG_NAME, strlen(X_LONG_NAME),
#422      if (nc_put_att_text(ncidvarids[1], UNITS, strlen(METER), METER)) ERR;
#428      if (nc_def_var(ncidYC_NAMENC_FLOAT, 1, &dimids[1], &varids[2])) ERR;
#429      if (nc_put_att_text(ncidvarids[2], AXIS, strlen(Y_NAME), Y_NAME)) ERR;
#430      if (nc_put_att_text(ncidvarids[2], LONG_NAME, strlen(Y_LONG_NAME),
#432      if (nc_put_att_text(ncidvarids[2], UNITS, strlen(METER), METER)) ERR;
#438      if (nc_def_var(ncidLEV_NAMENC_FLOAT, 1, &dimids[2], &varids[3])) ERR;
#439      if (nc_put_att_text(ncidvarids[3], LONG_NAME, strlen(LEV_LONG_NAME),
#441      if (nc_put_att_text(ncidvarids[3], UNITS, strlen(HPA), HPA)) ERR;
#446      if (nc_def_var(ncidLON_NAMENC_FLOATCOORD_NDIMScoord_dimids, &varids[4])) ERR;
#447      if (nc_put_att_text(ncidvarids[4], LONG_NAME, strlen(LON_LONG_NAME),
#449      if (nc_put_att_text(ncidvarids[4], UNITS, strlen(DEGREES_EAST), DEGREES_EAST)) ERR;
#452      if (nc_def_var(ncidLAT_NAMENC_FLOATCOORD_NDIMScoord_dimids, &varids[5])) ERR;
#453      if (nc_put_att_text(ncidvarids[5], LONG_NAME, strlen(LAT_LONG_NAME),
#455      if (nc_put_att_text(ncidvarids[5], UNITS, strlen(DEGREES_NORTH), DEGREES_NORTH)) ERR;
tst_diskless4.c#54    int varids[4096];
#139            if((status=nc_def_var(ncidvarnameNC_BYTE, 1, &dimids[0], &varids[iv])))
#144            if((status=nc_inq_varid(ncidvarname, &varids[iv])))
#165 if((status=nc_put_vara(ncid,varids[iv],start,count,(void*)data)))
#175 if((status=nc_get_vara(ncid,varids[iv],start,count,(void*)data)))
tst_files2.c#92   int nciddimids[MAX_DIMS], *varids;
#124   if (!(varids = malloc(num_vars * sizeof(int)))) ERR_RET;
#129      &varids[i])) ERR_RET;
#154        if (nc_put_vara_float(ncidvarids[i], startcount,
#160     if (nc_put_vara_float(ncidvarids[i], startcount,
#167   free(varids);
tst_names.c#215   int varids[NUM_GOOD];
#265    varids[i] = varid;
#311        varid != varids[i])
tst_vars.c#1190      int varids[NUM_VARS];
#1200  if (nc_def_var(ncidvarnameNC_FLOAT, 1, dimids, &varids[i])) {


HyperKWIC - Version 7.20DA executed at 11:37 on 27 Oct 2017 | Polyhedron Solutions - INTERNAL USE | COMMERCIAL (Any O/S) SN 4AKIed