Opened 8 years ago

Closed 8 years ago

#38 closed enhancement (fixed)

add scale_factor and add_offset attribute for field

Reported by: smasson Owned by: ymipsl
Priority: minor Component: XIOS
Version: 1.0 Keywords:


In order to reduce size on produced data, it would be convenient to have the possibility to specified scale_factor and add_offset attribute for file, following the CF convention.

Change History (2)

comment:1 Changed 8 years ago by ymipsl

  • Priority changed from major to minor
  • Status changed from new to assigned
  • Type changed from defect to enhancement

comment:2 Changed 8 years ago by ymipsl

  • Resolution set to fixed
  • Status changed from assigned to closed

Done in rev r464 :

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).


Note: See TracTickets for help on using tickets.