Create write_attribute_dble and write_attribute_int subroutines for HDF