Changeset 3984 in Sophya for trunk/Cosmo/RadioBeam/gsm2cube.cc


Ignore:
Timestamp:
May 5, 2011, 4:27:57 PM (14 years ago)
Author:
ansari
Message:

Modification de gestion des noms de fichiers gsm_sphere.ppf , Reza 5/5/2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/RadioBeam/gsm2cube.cc

    r3825 r3984  
    6262  Timer tm("gsm2cube");
    6363
    64   if (narg < 5) {
    65     cout << "Usage: gsm2cube GSMPPFDirectory GSMMapNumStart GSMMapNumEnd  Out3DPPFName  \n" << endl;
     64  if (narg < 6) {
     65    cout << "Usage: gsm2cube GSMPPFDirectoryFileName GSMMapNumStart GSMMapNumEnd  Out3DPPFName  \n"
     66         << "  GSMPPFDirectoryFileName in form of Directory/gsmJJJJJ "  << endl;
    6667    return 1;
    6768  }
     
    9697    for(sa_size_t kf=0; kf<NFreq; kf++) {
    9798      char mapname[512];
    98       sprintf(mapname,"%s/gsm820948_%d.ppf",inpath.c_str(),(int)(kf+numapstart));
     99      sprintf(mapname,"%s_%d.ppf",inpath.c_str(),(int)(kf+numapstart));
    99100      cout << kf << "- Reading GSM map from file " << mapname << " ... " ;
    100101      PInPersist pin(mapname);
Note: See TracChangeset for help on using the changeset viewer.