4.1 Working with a time series of image data sets using bilko. |
|||||||||||||||||||||
References:
Downloads: |
NetCDF data fileMany satellite data sets are provided in hierarchically structured formats, a bit like complex sets of images. These formats usually include considerable additional metadata data apart from the images themselves. Metadata tags or attributes are used to describe the contents of a data file in such a way that the data is self-describing i.e., no other additional information should be required to unpack and use the data held within the file. NetCDF (network Common Data Form) is a set of interfaces for array-oriented data access and is used widely in the satellite oceanography and ocean modelling community. It is well structured for storing a time series of satellite observations. Data stored in netCDF format is:
More information describing netCDF can be obtained at netCDF. Open the file sst0_ats2_v00a.nc. This netCDF file contains a time series of ATSR global sea surface temperature (skin-temperature) data. Bilko will show the file as a 'tree' of folders, which you can use to investigate the hierarchical structure of the netCDF file. To examine the data you can:
Click on the Scientific Global Attributes tag, in the left frame, to select it and then right click on the same tag in the right frame. Select the option Open Properties. A new window should open which contains the metadata information attached to this netCDF file.
When you have finished reviewing the Global Scientific Attributes, close this window. The netCDF data file is a self describing data file that contains 59, 32 bit floating point images that are 720 x 359 pixels in size; you can confirm this by looking in the dimensions section of the file. Investigate the lat and lon sections of the netCDF file metadata and quickly review the content presented. You should discover that the latitude and longitude resolution of the data within the file is 0.5°.
Select the dimensions tag in the hierarchical file viewer and double click the item to expand the file view. In the right hand window section, select the time attribute and right-click this item. Select the option to Open Properties. Review the contents of the properties window.
The data cubeSelect the Scientific Data section of the file to reveal the data sets included in the file. There should be one data set called SST; this contains 59 images of 32-bit floating point data, 720 x 360 pixels in size. These images can be opened as a 3-dimensional data cube, which can be analysed as a single data set in Bilko. Activity
You can visualise the stack as a cube of data that you can explore in three dimensions. Each image can be called to the top of the stack using the Selector that has appeared on your screen. The Selector always be visible when the stack is selected, and will tell you which image is currently displayed on the top of the stack. By default the first image in the series (image 0) is selected when a stach is first opened. Note that if you select an image, the images stay in order so that if you call image 40 to the top of the stack, image 41 will be the next one beneath. You can also scroll through the images one by one using the [TAB] key on your keyboard. The first image in the data cube is a monthly mean SSTskin map for July 1995, and the last image for May 2000. There are several blank images in the file; these are used as placeholders for the months between January 1996 to July 1996, when the ATSR-2 scan mirror jammed and no data were obtained. Each image represents SSTskin derived from the ATSR-2 sensor for ½ degree latitude x longitude regular grid boxes. Each grid box contains the average of all 1km cloud free SST observations collected by the ATSR-2.
Adding colourTake a look at the top image of the stack in front of you. It is immediately obvious that all of the image data are upside down in this file!! In terms of data analysis, it doesn`t matter really but it is much easier to work with the data when you are looking at the maps in a conventional manner. You can re-orient the image data cube by reflecting the image data within the stack. Select view » reflect » in y (in the S-N direction) to adjust the orientation of the image data sets. Note that we are working on the top image of the data cube but that the operation is replicated throughout the entire stack of image data so that ALL the image data files have been reflected. This is an important concept when working within the Bilko Stack environment: actions are often replicated across the entire data set using the same limits or settings (such as colour palettes, stretches and filters). This is a great property of stacked data sets when working with a time series of image data sets where you want to compare images using the same settings without having to replicate image processing steps for each individual image. |
||||||||||||||||||||
Answers: |
Activity From the file menu locate the file rainbow.pal (you will need to download it) and open this by double clicking. This is a rainbow palette that will aid interpretation of the image data sets we are using. You may chose one of the other palettes available if you prefer their alternative colour schemes or, you might like to keep things in a grey-scale - it`s up to you. Activity Using the Bilko Loop animation tool (found on the menu bar) spend some time watching the data sets as a movie loop. You can control the speed of the movie transitions from the image drop down menu bar. Select the Animate... menu item and modify the number of milliseconds to wait before changing image data set displayed. As alternative, you can place your cursor in the selection bar, highlight an image data set name from the drop down list of images and use the up and down arrows to scroll through the data sets. The Bilko Loop animation tool is extremely useful as it provides a dynamic visualisation of the image data cube allowing you to visualise the shifting patterns of global SST measured by the AATSR. For example, the annual north-south progression of SST as the earth`s axis moves 23.5°N and S relative to the suns position, the blank images between January 1996 - July 1996 (images 7 to 12) where the ATSR-2 scan mirror jammed, the location of the Gulf stream and other Western Boundary currents, the cool tongue in the equatorial Pacific, the strong El Niño event of 1997-98, the Agulhas current, amongst others. |
||||||||||||||||||||
|
|