Template:NetcdfGlossary: Difference between revisions

From Atomix
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 12: Line 12:
|cf-compliant=
|cf-compliant=
|instrument_type=
|instrument_type=
|glossary_type=
}}
}}
</pre>
</pre>
The instrument-type assigns a category, hence why it’s preferable to use the form’a drop-down menu.
The instrument_type assigns a category, hence why it’s preferable to use the form’s drop-down menu to avoid spelling mistakes when generating a comma separated list of these choices:
Edit the page to see the template text.
* Velocity point-measurements
* Velocity profilers
* Shear probes
 
There's also a glossary_type field that assigns subcategories. It's not accessible through the template but passed using the form.
 
</noinclude><includeonly>
</noinclude><includeonly>
{| class="wikitable"  
{| class="wikitable"  
Line 21: Line 27:
! Short name
! Short name
! Symbol
! Symbol
! Standard name
! Description
! Description
! Standard name
! Units  
! Units
! CF compliant
! CF compliant
|-
|-
| {{{parameter_name}}}  
| {{{parameter_name}}}  
| {{{symbol}}}
| {{{symbol}}}
| {{{standard_name}}}
| {{{description}}}
| {{{description}}}
| {{{standard_name}}}
| {{{units}}}
| {{{units}}}
| {{{cf-compliant}}}
| {{{cf-compliant}}}
Line 38: Line 44:
[[Category:Glossary]]
[[Category:Glossary]]
{{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}}
{{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}}
{{#arraymap:{{{glossary_type|}}}|,|x|[[Category:x]]|}}
</includeonly>
</includeonly>

Latest revision as of 13:04, 18 May 2021


This is the "netcdf" or math symbol template. It's easier to use the form. Alternatively, the template can be called in the following way (recommended for experts only!)

{{NetcdfGlossary
|parameter_name=
|symbol=
|description=
|standard_name=
|units=
|cf-compliant=
|instrument_type=
|glossary_type=
}}

The instrument_type assigns a category, hence why it’s preferable to use the form’s drop-down menu to avoid spelling mistakes when generating a comma separated list of these choices:

  • Velocity point-measurements
  • Velocity profilers
  • Shear probes

There's also a glossary_type field that assigns subcategories. It's not accessible through the template but passed using the form.