Skip to content

Commit

Permalink
Push working changes to HDF5 writer (likely still has major issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
David-McKenna committed Sep 10, 2024
1 parent b83e3ed commit 0ef71a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/io/lofar_udp_io_HDF5.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,8 @@ int64_t _lofar_udp_io_write_metadata_HDF5(lofar_udp_io_write_config *const confi
{ "SYSTEM_VERSION", UPM_VERSION },
{ "PIPELINE_VERSION", UPM_VERSION }, // TODO?
{ "BF_VERSION", "NULL" }, // TODO
{ "ANTENNA_SET", metadata->freq_raw > 100 ? "HBA_JOINED" : "LBA_OUTER" },
{ "CREATE_OFFLINE_ONLINE", metadata->upm_reader == DADA_ACTIVE ? "ONLINE" : "OFFLINE" },
};

H5G_SET_ATTRS(group, rootStrAttrs, hdf5SetupStrAttrs);
Expand All @@ -670,10 +672,8 @@ int64_t _lofar_udp_io_write_metadata_HDF5(lofar_udp_io_write_config *const confi
{ "OBSERVATION_ID", metadata->obs_id },
{ "OBSERVATION_START_UTC", metadata->obs_utc_start },
{ "EXPTIME_START_UTC", metadata->obs_utc_start },
{ "ANTENNA_SET", metadata->freq_raw > 100 ? "HBA_JOINED" : "LBA_OUTER" },
{ "CREATE_OFFLINE_ONLINE", metadata->upm_reader == DADA_ACTIVE ? "ONLINE" : "OFFLINE" },
{ "TARGET", metadata->source },
{ "FILTER_SELECTION", filterSelection },
{ "FILTER_SELECTION", &(filterSelection[0]) },
};
H5G_SET_ATTRS(group, rootStrPtrAttrs, hdf5SetupStrPtrAttrs);

Expand Down

0 comments on commit 0ef71a7

Please sign in to comment.