Changeset 3067


Ignore:
Timestamp:
11/25/15 12:55:39 (8 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...


Make PKS classes warning free.

Location:
trunk/external-alma/atnf/PKSIO
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/atnf/PKSIO/FITSreader.cc

    r3029 r3067  
    5656        const int getXPol,
    5757        const int getFeedPos,
    58         const int getPointing,
     58        const int /* getPointing */,
    5959        const int coordSys)
    6060{
  • trunk/external-alma/atnf/PKSIO/GBTFITSreader.cc

    r2940 r3067  
    29602960}
    29612961
    2962 Double GBTFITSreader::getRefValLSR( long iRow, int idx, char *sampler, double restfreq )
     2962Double GBTFITSreader::getRefValLSR( long iRow, int idx, char *sampler, double /*restfreq*/ )
    29632963{
    29642964  const string methodName = "getRefValLSR()" ;
  • trunk/external-alma/atnf/PKSIO/MBFITSreader.cc

    r1868 r3067  
    416416
    417417    // ATCA-104.  Updated position at epoch 2007/06/24 from Chris Phillips.
    418     // antPos[0] = -4751640.182; // ± 0.008
    419     // antPos[1] =  2791700.322; // ± 0.006
    420     // antPos[2] = -3200490.668; // ± 0.007
     418    // antPos[0] = -4751640.182; // ï¿œ 0.008
     419    // antPos[1] =  2791700.322; // ï¿œ 0.006
     420    // antPos[2] = -3200490.668; // ï¿œ 0.007
    421421    //
    422422  } else if (strncmp(names_.sta, "MOP", 3) == 0) {
    423423    // Mopra.  Updated position at epoch 2007/06/24 from Chris Phillips.
    424424    sprintf(telescope, "%-16.16s", "ATMOPRA");
    425     antPos[0] = -4682769.444; // ± 0.009
    426     antPos[1] =  2802618.963; // ± 0.006
    427     antPos[2] = -3291758.864; // ± 0.008
     425    antPos[0] = -4682769.444; // ï¿œ 0.009
     426    antPos[1] =  2802618.963; // ï¿œ 0.006
     427    antPos[2] = -3291758.864; // ï¿œ 0.008
    428428
    429429  } else if (strncmp(names_.sta, "HOB", 3) == 0) {
     
    437437    // Ceduna.  Updated position at epoch 2007/06/24 from Chris Phillips.
    438438    sprintf(telescope, "%-16.16s", "CEDUNA");
    439     antPos[0] = -3753443.168; // ± 0.017
    440     antPos[1] =  3912709.794; // ± 0.017
    441     antPos[2] = -3348067.060; // ± 0.016
     439    antPos[0] = -3753443.168; // ï¿œ 0.017
     440    antPos[1] =  3912709.794; // ï¿œ 0.017
     441    antPos[2] = -3348067.060; // ï¿œ 0.016
    442442
    443443  } else if (strncmp(names_.sta, "tid", 3) == 0) {
     
    486486
    487487int MBFITSreader::getFreqInfo(
    488         int     &nIF,
    489         double* &startFreq,
    490         double* &endFreq)
     488        int     &/*nIF*/,
     489        double* &/*startFreq*/,
     490        double* &/*endFreq*/)
    491491{
    492492  // This is RPFITS - can't do it!
     
    499499
    500500int MBFITSreader::findRange(
    501         int    &nRow,
    502         int    &nSel,
    503         char   dateSpan[2][32],
    504         double utcSpan[2],
    505         double* &positions)
     501        int    &/*nRow*/,
     502        int    &/*nSel*/,
     503        char   /*dateSpan*/[2][32],
     504        double /*utcSpan*/[2],
     505        double* &/*positions*/)
    506506{
    507507  // This is RPFITS - can't do it!
  • trunk/external-alma/atnf/PKSIO/PKSFITSreader.cc

    r1868 r3067  
    8282Int PKSFITSreader::open(
    8383        const String fitsName,
    84         const String antenna,
     84        const String /*antenna*/,
    8585        Vector<Bool> &beams,
    8686        Vector<Bool> &IFs,
  • trunk/external-alma/atnf/PKSIO/PKSwriter.h

    r1757 r3067  
    7676
    7777    // Write a history record.
    78     virtual Int history(const String text) {return 0;};
    79     virtual Int history(const char *text)  {return 0;};
     78    virtual Int history(const String /*text*/) {return 0;};
     79    virtual Int history(const char */*text*/)  {return 0;};
    8080
    8181    // Close the output file.
  • trunk/external-alma/atnf/PKSIO/SDFITSreader.cc

    r2940 r3067  
    19381938// the corresponding error message and the CFITSIO message stack.
    19391939
    1940 void SDFITSreader::log(LogOrigin origin, LogIO::Command cmd, const char *msg)
     1940void SDFITSreader::log(LogOrigin origin, LogIO::Command priority, const char *msg)
    19411941{
    19421942  LogIO os( origin ) ;
    19431943
    1944   os << msg << endl ;
     1944  os << priority << msg << endl ;
    19451945
    19461946  if (cStatus > 0) {
Note: See TracChangeset for help on using the changeset viewer.