Difference between revisions of "Filling Out the Uniformly Sampled Class"
m |
m |
||
Line 22: | Line 22: | ||
''REQUIRED'' | ''REQUIRED'' | ||
− | Distance between records in units of the sampling parameter. So if you're sampling in time | + | Distance between records in units of the sampling parameter. So if you're sampling in time the interval might be 100 milliseconds, for example, so the value you would put here is ''100''. |
== <sampling_parameter_unit> == | == <sampling_parameter_unit> == | ||
Line 28: | Line 28: | ||
''REQUIRED'' | ''REQUIRED'' | ||
− | The unit associated with the ''sampling_parameter_interval''. | + | The unit associated with the ''sampling_parameter_interval'', |
+ | ''first_sampling_parameter_value'', and ''last_sampling_parameter_value'', following. In the previous example, this would be ''ms''. | ||
== <first_sampling_parameter_value> == | == <first_sampling_parameter_value> == | ||
Line 34: | Line 35: | ||
''REQUIRED'' | ''REQUIRED'' | ||
− | The value of the sampling parameter at the point where the data of the first record were recorded. | + | The value of the sampling parameter at the point where the data of the first record were recorded. The data dictionary specifically indicates that the minimum sampling parameter value corresponds to the first datum of the sampling interval - so it directly corresponds to the first sample. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | The units for this value are in the ''sampling_parameter_unit'' attribute, above. | ||
== <last_sampling_parameter_value> == | == <last_sampling_parameter_value> == | ||
Line 47: | Line 43: | ||
''REQUIRED'' | ''REQUIRED'' | ||
− | The value of the sampling parameter at the point where the data of the last record were recorded. | + | The value of the sampling parameter at the point where the data of the last record were recorded. |
+ | The units for this value are in the ''sampling_parameter_unit'' attribute, above. | ||
== <sampling_parameter_scale> == | == <sampling_parameter_scale> == | ||
Line 54: | Line 51: | ||
''OPTIONAL'' | ''OPTIONAL'' | ||
− | This is actually the type of the scale. It must be one of the standard values '''Exponential''', '''Linear''', or '''Logarithmic'''. In the | + | This is actually the type of the scale. It must be one of the standard values '''Exponential''', '''Linear''', or '''Logarithmic'''. In the absence of a <sampling_parameter_scale>, you can safely assume the scale is linear. If you use this value for one table in your product, though, you should use it for all of them. |
Revision as of 18:43, 22 April 2015
The <Uniformly_Sampled> class can be used in any table-type class (like <Table_Character>) when the table contains records which are uniformly spaced in some dimension (time, wavelength, distance, etc.). This class is used to define that dimension and interval rather than including an additional field in each row to hold the value explicitly.
|
For additional explanation, see the PDS4 Standards Reference, or contact your PDS node consultant.
Following are the attributes and subclasses you'll find in <Uniformly_Sampled>, in label order.
Note that in the PDS4 master schema, all classes have capitalized names; attributes never do.
Contents
<sampling_parameter_name>
REQUIRED
The name of the dimension of sampling (wavelength, time, etc.)
<sampling_parameter_interval>
REQUIRED
Distance between records in units of the sampling parameter. So if you're sampling in time the interval might be 100 milliseconds, for example, so the value you would put here is 100.
<sampling_parameter_unit>
REQUIRED
The unit associated with the sampling_parameter_interval, first_sampling_parameter_value, and last_sampling_parameter_value, following. In the previous example, this would be ms.
<first_sampling_parameter_value>
REQUIRED
The value of the sampling parameter at the point where the data of the first record were recorded. The data dictionary specifically indicates that the minimum sampling parameter value corresponds to the first datum of the sampling interval - so it directly corresponds to the first sample.
The units for this value are in the sampling_parameter_unit attribute, above.
<last_sampling_parameter_value>
REQUIRED
The value of the sampling parameter at the point where the data of the last record were recorded.
The units for this value are in the sampling_parameter_unit attribute, above.
<sampling_parameter_scale>
OPTIONAL
This is actually the type of the scale. It must be one of the standard values Exponential, Linear, or Logarithmic. In the absence of a <sampling_parameter_scale>, you can safely assume the scale is linear. If you use this value for one table in your product, though, you should use it for all of them.