- Timestamp:
- 04/20/18 17:04:38 (6 years ago)
- Location:
- XIOS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/context.cpp
r1418 r1488 885 885 if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fixé à vrai. 886 886 { 887 if (!allFiles[i]->output_freq.isEmpty()) 888 { 889 ERROR("CContext::findEnabledFiles()", 890 << "Mandatory attribute output_freq must be defined for file \""<<allFiles[i]->getFileOutputName() 891 <<" \".") 892 } 887 893 if ((initDate + allFiles[i]->output_freq.getValue()) < (initDate + this->getCalendar()->getTimeStep())) 888 894 { … … 897 903 else 898 904 { 905 if (!allFiles[i]->output_freq.isEmpty()) 906 { 907 ERROR("CContext::findEnabledFiles()", 908 << "Mandatory attribute output_freq must be defined for file \""<<allFiles[i]->getFileOutputName() 909 <<" \".") 910 } 899 911 if ( (initDate + allFiles[i]->output_freq.getValue()) < (initDate + this->getCalendar()->getTimeStep())) 900 912 { -
XIOS/trunk/src/node/context.cpp
r1358 r1488 603 603 if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fixé à vrai. 604 604 { 605 if (allFiles[i]->output_freq.isEmpty()) 606 { 607 ERROR("CContext::findEnabledFiles()", 608 << "Mandatory attribute output_freq must be defined for file \""<<allFiles[i]->getFileOutputName() 609 <<" \".") 610 } 605 611 if ((initDate + allFiles[i]->output_freq.getValue()) < (initDate + this->getCalendar()->getTimeStep())) 606 612 { … … 615 621 else 616 622 { 623 if (allFiles[i]->output_freq.isEmpty()) 624 { 625 ERROR("CContext::findEnabledFiles()", 626 << "Mandatory attribute output_freq must be defined for file \""<<allFiles[i]->getFileOutputName() 627 <<" \".") 628 } 617 629 if ( (initDate + allFiles[i]->output_freq.getValue()) < (initDate + this->getCalendar()->getTimeStep())) 618 630 {
Note: See TracChangeset
for help on using the changeset viewer.