Skip to content

Commit

Permalink
#1815 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jun 27, 2022
1 parent 2066939 commit 161227f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/libcode/vx_data2d_nc_pinterp/pinterp_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -797,23 +797,11 @@ return ( true );
bool PinterpFile::data(const char * var_name, const LongArray & a, DataPlane & plane,
double & pressure, NcVarInfo *&info) const {

int j, time_index;
int time_index;
bool found = false;


if (NULL != info) found = true;
else found = get_nc_var_info(var_name, info);
/*
for (j=0; j<Nvars; ++j) {
if ( Var[j].name == var_name ) {
found = true;
info = &Var[j];
break;
}
}
*/

if ( !found ) return ( false );

Expand Down

0 comments on commit 161227f

Please sign in to comment.