10 | | ''' (B) Dimension scales ''' - Dimension scales are used as coordinate variables and time intervals. They provide information about geolocation and time to the data variables. The dimension scales follow the [http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.2/ NetCDF Climate and Forecast (CF) Metadata Conventions]. Dimension scales are lists containing coordinates or time intervals. The dimension scale figure shows geographic raster data with the dimensions time, lat and lon. Its size is, in this example, 4x6x12. This means that there are 4 indexes for time, 6 for latitude and 12 for longitude. According to the CF conventions the dimensions should have the order time, lat, lon. |
11 | | In case the raster data uses a geographic coordinate system, the required dimensions are time, lat and lon which represent the center of the pixel. When the raster data is projected the dimension scales x and y are included which represent the projected coordinates. The dimension scales lat and lon become a function of y and x (see the right part of the file structure), providing the latitude and longitude at the location of y and x, respectively. In this case y and x contain the projected coordinates, while lat and lon represent the geographic latitudes and longitudes in degrees at location y, x. For detailed information see the [http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.2/ NetCDF Climate and Forecast (CF) Metadata Conventions]. |
12 | | |
13 | | ''' (C) Data ''' - This part contains the data in the file structure. The data is stored in variables which are functions of the dimension scales. For geographic raster data the variable is a function of time, lat and lon. For projected raster data the variable is a function of time, y and x, as can be seen in the illustration of the file structure. |
| 10 | ''' (B) Dimensions ''' - Dimensions are used as coordinate variables and time intervals. They provide information about geolocation and time to the data variables. The dimensions follow the [http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.2/ NetCDF Climate and Forecast (CF) Metadata Conventions]. Dimensions are lists containing coordinates or time intervals. The dimension scale figure shows geographic raster data with the dimensions time, lat and lon. Its size is, in this example, 4x6x12. This means that there are 4 indexes for time, 6 for latitude and 12 for longitude. According to the CF conventions the dimensions should have the order time, lat, lon. |
| 11 | In case the raster data uses a geographic coordinate system, the required dimensions are time, lat and lon which represent the center of the pixel. When the raster data is projected the dimensions x and y are included which represent the projected coordinates. The dimensions lat and lon become a function of y and x (see the right part of the file structure), providing the latitude and longitude at the location of y and x, respectively. In this case y and x contain the projected coordinates, while lat and lon represent the geographic latitudes and longitudes in degrees at location y, x. For detailed information see the [http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.2/ NetCDF Climate and Forecast (CF) Metadata Conventions]. |
| 12 | |
| 13 | ''' (C) Data ''' - This part contains the data in the file structure. The data is stored in variables which are functions of the dimensions. For geographic raster data the variable is a function of time, lat and lon. For projected raster data the variable is a function of time, y and x, as can be seen in the illustration of the file structure. |