Opened 11 years ago

Closed 11 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:
Cc:

Description

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

YM

Note: See TracTickets for help on using tickets.