Skip to content

Commit

Permalink
Per #2486, add copyright, remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Jan 13, 2024
1 parent 1732fac commit 5951be3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
21 changes: 9 additions & 12 deletions src/libcode/vx_grid/proj_grid.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1992 - 2023
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Research Applications Lab (RAL)
// ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*


////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -85,10 +92,6 @@ void ProjGrid::init_from_scratch()

{

// C = 0;
//
// pj = 0;

info = make_shared<ProjInfo>();

Nx = Ny = 0;
Expand All @@ -105,7 +108,7 @@ void ProjGrid::clear()

{

// info. // ?
info = nullptr;

Aff.clear();

Expand Down Expand Up @@ -162,19 +165,13 @@ out << prefix << "(nx, ny) = (" << Nx << ", " << Ny << ")\n";

out << prefix << "Affine: \n";

//Aff.dump(out, depth + 1);
Aff.dump(out, depth + 1);

out << prefix << "proj_set = ";

if ( Proj_Set.nonempty() ) out << '\"' << Proj_Set << "\"\n";
else out << "(nul)\n";

//
// how to dump out the PROJ stuff?
//
// for now, we'll just write out the pointer value;
//

out << prefix << "pj = " << (info->pj) << '\n';

//
Expand Down
9 changes: 8 additions & 1 deletion src/libcode/vx_grid/proj_grid.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1992 - 2023
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Research Applications Lab (RAL)
// ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*


////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -82,7 +89,7 @@ class ProjGrid {
// set stuff
//

void set_proj(const char *); // string used to iniitialize the PROJ stuff
void set_proj(const char *); // string used to initialize the PROJ stuff

void set_affine(const Affine &);

Expand Down

0 comments on commit 5951be3

Please sign in to comment.