Grid Metadata Tutorial: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
(New page: = Grid Metadata Tutorial = Category:NCML)
 
Line 1: Line 1:
= Grid Metadata Tutorial =
= An Example of Adding Metadata to a Grid =
[[:Category:NCML]]
[[:Category:NCML]]
We will go through a basic example of adding metadata to all the possible scopes in a Grid variable:
* The top-level Grid Structure itself
* The data Array in the Grid
* Each Map vector in the Grid
Let's start with a "pass-through" NcML file which wraps a Netcdf dataset that Hyrax represents as a Grid.  This will let us see the exact structure of the data we will want to modify (which may be slightly different than the wrapped dataset due to legacy issues with how shared dimensions are represented, etc):
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<netcdf location="data/ncml/agg/grids/f97182070958.hdf" title="This file results in a Grid">
<!-- This space intentionally left blank! -->
</netcdf>
</pre>
This gives the DDS:
<pre>
</pre>
and the DAS:
<pre>
</pre>

Revision as of 20:19, 20 April 2010

An Example of Adding Metadata to a Grid

Category:NCML

We will go through a basic example of adding metadata to all the possible scopes in a Grid variable:

  • The top-level Grid Structure itself
  • The data Array in the Grid
  • Each Map vector in the Grid

Let's start with a "pass-through" NcML file which wraps a Netcdf dataset that Hyrax represents as a Grid. This will let us see the exact structure of the data we will want to modify (which may be slightly different than the wrapped dataset due to legacy issues with how shared dimensions are represented, etc):

<?xml version="1.0" encoding="UTF-8"?>
<netcdf location="data/ncml/agg/grids/f97182070958.hdf" title="This file results in a Grid">
<!-- This space intentionally left blank! -->
</netcdf>

This gives the DDS:


and the DAS: