Load Image
See the source code: FITS | CASA | HDF5
Measures the end-to-end latency of opening an image and receiving the initial raster
tiles, spatial profiles, and histogram. The elapsed time is measured between the
OPEN_FILE request and the REGION_HISTOGRAM_DATA response.
Frontend sends: OPEN_FILE (
OpenFile)directory = "set_QA_performance" file = "cube_B_06400_z00100.<fits|image|hdf5>" file_id = 0
Backend returns: OPEN_FILE_ACK and REGION_HISTOGRAM_DATA
Frontend sends: ADD_REQUIRED_TILES (9 tiles), SET_CURSOR, and SET_SPATIAL_REQUIREMENTS
tiles = [33558529, 33558528, 33554433, 33554432, 33562625, 33558530, 33562624, 33554434, 33562626] compression_type = ZFP compression_quality = 11 point = {x: 1, y: 1}Backend returns: RASTER_TILE_DATA stream and SPATIAL_PROFILE_DATA
Check 1: within the openFile timeout (20,000 ms):
OPEN_FILE_ACK.success = True
RASTER_TILE_DATA stream length = 9 + 2 (9 tiles + RasterTileSync start and end)