/* * CoordSys.c * */ #ident "@(#) $Id: CoordSys.c 20517 2009-09-28 16:55:03Z carrie $ SwRI" #include #include "pidf.h" #include "pidf_local.h" int CoordinateSystem (char *locater, PIDF what, SDDAS_INT unitnum) { switch (what) { case CSDEF : case CSDEFAULT : sprintf (locater, "%s.CoordinateSystem.default_coord_system", locater); break; case CSNUMTRANSFER : sprintf (locater, "%s.CoordinateSystem.num_transfer", locater); break; case CSTRANSFERUNIT : sprintf (locater, "%s.CoordinateSystem.transfer_unit", locater); break; default : return Unit (locater, what, unitnum); } /* end switch */ return ALL_OKAY; }