Ignore:
Timestamp:
05/03/11 11:55:06 (13 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/xmlio/output/nc4_data_output.cpp

    r185 r187  
    6464         if (domain->IsWritten(this->filename)) return; 
    6565         domain->checkAttributes(); 
     66          
     67         if (domain->isEmpty()) return; 
    6668 
    6769         std::vector<StdString> dim0, dim1; 
     
    201203         boost::shared_ptr<CDomain> domain = 
    202204            CObjectFactory::GetObject<CDomain>(grid->domain_ref.getValue()); 
     205             
     206         if (domain->isEmpty()) return; 
    203207 
    204208         StdString timeid    = StdString("time_counter"); 
     
    263267                  SuperClassWriter::addAttribute 
    264268                     ("units", field->unit.getValue(), &fieldid); 
    265  
    266                if (!field->operation.isEmpty()) 
    267                   SuperClassWriter::addAttribute 
     269                      
     270               SuperClassWriter::addAttribute 
    268271                     ("online_operation", field->operation.getValue(), &fieldid); 
    269  
    270                {  
     272                      
     273               if (wtime) 
     274               { 
     275                  SuperClassWriter::addAttribute 
     276                        ("interval_operation", field->freq_op.getValue(), &fieldid); 
     277                  SuperClassWriter::addAttribute 
     278                        ("interval_write", field->getRelFile()->output_freq.getValue(), &fieldid); 
     279               } 
     280 
     281               {  // Ecriture des coordonnées 
     282                
    271283                  StdString coordstr; //boost::algorithm::join(coodinates, " ") 
    272284                  std::vector<StdString>::iterator  
Note: See TracChangeset for help on using the changeset viewer.