diff --git a/src/libcode/vx_grid/proj_grid.cc b/src/libcode/vx_grid/proj_grid.cc index bb664d4e73..9de0f1a9b0 100644 --- a/src/libcode/vx_grid/proj_grid.cc +++ b/src/libcode/vx_grid/proj_grid.cc @@ -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 +// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* //////////////////////////////////////////////////////////////////////// @@ -85,10 +92,6 @@ void ProjGrid::init_from_scratch() { -// C = 0; -// -// pj = 0; - info = make_shared(); Nx = Ny = 0; @@ -105,7 +108,7 @@ void ProjGrid::clear() { -// info. // ? +info = nullptr; Aff.clear(); @@ -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'; // diff --git a/src/libcode/vx_grid/proj_grid.h b/src/libcode/vx_grid/proj_grid.h index 61f407e0db..85890e328c 100644 --- a/src/libcode/vx_grid/proj_grid.h +++ b/src/libcode/vx_grid/proj_grid.h @@ -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 +// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* //////////////////////////////////////////////////////////////////////// @@ -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 &);