NetCDF variables represent multidimensional arrays. Each dimension has a name and integer length. A variable's shape is the ordered sequence of dimension names that define its indexing space (e.g. time height1 y x).
In climate and weather datasets following the Climate and Forecast (CF) metadata conventions:
time(time), lat(lat), lon(lon)) provide the physical coordinates for each index.lat(y, x) and lon(y, x)) specify coordinates for irregular or projected grids.air_temperature(time, height, y, x)).Standard computer displays render 2D raster heatmaps. When a variable has 3, 4, or more dimensions:
x and y) form the horizontal and vertical axes of the visual image.time and height1) require an active slice index (e.g. time=0, height1=2).data[t, h, :, :] without loading the entire 4D array into memory.
Capella Datascience provides the generic DataAdapter<T> interface with specialized implementations:
FloatAdapter, DoubleAdapter: For floating-point continuous fields.IntegerAdapter, ShortAdapter, ByteAdapter: For integer/categorized fields.The adapter normalizes missing data / NaNs, computes dynamic min/max ranges, and applies linear ratio interpolation to map raw values into 8-bit or 16-bit color palettes.