Changeset 850
- Timestamp:
- 05/11/16 16:11:10 (7 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/config/file_attribute.conf
r802 r850 19 19 DECLARE_ATTRIBUTE(StdString, time_counter_name) 20 20 DECLARE_ATTRIBUTE(int, record_offset) 21 DECLARE_ATTRIBUTE(bool, cyclic) 21 22 22 23 DECLARE_ATTRIBUTE(int, compression_level) -
XIOS/trunk/src/io/nc4_data_input.cpp
r825 r850 55 55 { 56 56 case MULTI_FILE: 57 SuperClassWriter::getData(fieldData, fieldId, isCollective, field->getNStep() - 1);57 SuperClassWriter::getData(fieldData, fieldId, isCollective, (field->getNStep() - 1)%field->nstepMax ); 58 58 break; 59 59 case ONE_FILE: … … 116 116 } 117 117 118 SuperClassWriter::getData(fieldData, fieldId, isCollective, field->getNStep() - 1, &start, &count);118 SuperClassWriter::getData(fieldData, fieldId, isCollective, (field->getNStep() - 1)%field->nstepMax, &start, &count); 119 119 break; 120 120 } -
XIOS/trunk/src/node/field.cpp
r824 r850 284 284 285 285 if (requestData) 286 { 287 cout<<"currentDate : "<<currentDate<<endl ; 288 cout<<"lastDataRequestedFromServer : "<<lastDataRequestedFromServer<<endl ; 289 cout<<"file->output_freq.getValue() : "<<file->output_freq.getValue()<<endl ; 290 cout<<"lastDataRequestedFromServer + file->output_freq.getValue() : "<<lastDataRequestedFromServer + file->output_freq.getValue()<<endl ; 291 286 292 sendReadDataRequest(); 293 } 287 294 288 295 return requestData; … … 335 342 336 343 getRelFile()->checkFile(); 337 this->incrementNStep();338 339 344 if (!nstepMax) 340 345 { 341 346 nstepMax = getRelFile()->getDataInput()->getFieldNbRecords(CField::get(this)); 342 347 } 343 344 if (getNStep() > nstepMax) 348 349 this->incrementNStep(); 350 351 352 353 if (getNStep() > nstepMax && (getRelFile()->cyclic.isEmpty() || !getRelFile()->cyclic) ) 345 354 return false; 346 355
Note: See TracChangeset
for help on using the changeset viewer.