Template:NetcdfGlossary: Difference between revisions
From Atomix
No edit summary |
No edit summary |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#default_form:}} | |||
<noinclude> | <noinclude> | ||
This is the "netcdf" template. | This is the "netcdf" or math symbol template. It's easier to use the [[Form:NetcdfGlossary|form]]. | ||
Alternatively, the template can be called in the following way (recommended for experts only!) | |||
<pre> | <pre> | ||
{{ | {{NetcdfGlossary | ||
|parameter_name= | |parameter_name= | ||
|symbol= | |symbol= | ||
|description= | |description= | ||
| | |standard_name= | ||
|units= | |units= | ||
|cf-compliant= | |cf-compliant= | ||
|instrument_type= | |||
|glossary_type= | |||
}} | }} | ||
</pre> | </pre> | ||
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. | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Short name | ||
! Symbol | ! Symbol | ||
! Standard name | |||
! Description | ! Description | ||
! Units | |||
! Units | |||
! CF compliant | ! CF compliant | ||
|- | |- | ||
| {{{parameter_name} | | {{{parameter_name}}} | ||
| {{{symbol}}} | | {{{symbol}}} | ||
| {{{standard_name}}} | |||
| {{{description}}} | | {{{description}}} | ||
| {{{units}}} | | {{{units}}} | ||
| {{{cf-compliant}}} | | {{{cf-compliant}}} | ||
|} | |} | ||
<small>This is a mathematical definition for '''{{FULLPAGENAME}}''', along with the NetCDF attributes.</small> | |||
== Additional Information == | |||
{{#default_form:NetcdfGlossary}} | |||
[[Category:Glossary]] | |||
{{#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.