102 getline(is, theline);
105 std::string lineID=theline.substr(0,4);
106 if (!GSEIDmatch<TWID2>(lineID))
throw 107 Terror(
"ERROR (TWID2::read): missing WID2 ID!");
109 Fyear =atoi(theline.substr( 5,4).c_str());
110 Fmonth =atoi(theline.substr(10,2).c_str());
111 Fday =atoi(theline.substr(13,2).c_str());
112 Fhour =atoi(theline.substr(16,2).c_str());
113 Fminute =atoi(theline.substr(19,2).c_str());
115 int isec =atoi(theline.substr(22,2).c_str());
116 Fmilsec =atoi(theline.substr(25,3).c_str());
129 Fauxid =theline.substr(39,4);
133 Fsamps =atoi(theline.substr(48,8).c_str());
135 Fsamprate=atof(theline.substr(57,11).c_str());
136 Fcalib =atof(theline.substr(69,10).c_str());
137 Fcalper =atof(theline.substr(80,7).c_str());
139 Fhang =atof(theline.substr(95,5).c_str());
140 Fvang =atof(theline.substr(101,4).c_str());