added code for data conversion to RClimDex format