Ignore:
Timestamp:
01/21/14 15:28:59 (8 years ago)
Author:
ymipsl
Message:

Enhancement : Add scale_factor and add_offset attribute to field output
Operation (field-add_offset)/scale_factor would be computed before output write.
If field attribute prec=2 the field would be rounded to nearest integer value and output as short int (2 bytes).

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/array_new.hpp

    r404 r464  
    77#include "buffer_out.hpp" 
    88#include "message.hpp" 
     9#include <cmath> 
    910 
    1011using namespace blitz ; 
     12BZ_DECLARE_FUNCTION(round) 
    1113namespace xios 
    1214{ 
    13  
    1415     
    1516template <typename T_numtype,int N_rank> 
Note: See TracChangeset for help on using the changeset viewer.