Ignore:
Timestamp:
04/23/18 11:18:05 (6 years ago)
Author:
yushan
Message:

Branch EP merged with Dev_cmip6 @r1490

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/node/context.cpp

    r1468 r1491  
    891891            if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fixé à vrai. 
    892892            { 
     893              if (allFiles[i]->output_freq.isEmpty()) 
     894              { 
     895                 ERROR("CContext::findEnabledFiles()", 
     896                     << "Mandatory attribute output_freq must be defined for file \""<<allFiles[i]->getFileOutputName() 
     897                     <<" \".") 
     898              } 
    893899              if ((initDate + allFiles[i]->output_freq.getValue()) < (initDate + this->getCalendar()->getTimeStep())) 
    894900              { 
     
    903909         else 
    904910         { 
     911           if (allFiles[i]->output_freq.isEmpty()) 
     912           { 
     913              ERROR("CContext::findEnabledFiles()", 
     914                  << "Mandatory attribute output_freq must be defined for file \""<<allFiles[i]->getFileOutputName() 
     915                  <<" \".") 
     916           } 
    905917           if ( (initDate + allFiles[i]->output_freq.getValue()) < (initDate + this->getCalendar()->getTimeStep())) 
    906918           { 
Note: See TracChangeset for help on using the changeset viewer.