Commit 947a12ba authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Added showattribute doc part 2

parent e35cce89
......@@ -123,8 +123,9 @@ std::vector<std::string> NinfoHelp = {
std::vector<std::string> ShowinfoHelp = {
"NAME",
" showformat, showcode, showname, showstdname, showlevel, showltype, showyear, ",
" showmon, showdate, showtime, showtimestamp - Show variables, levels or times",
" showformat, showcode, showname, showstdname, showatts, showattsglob, ",
" showlevel, showltype, showyear, showmon, showdate, showtime, showtimestamp - ",
" Show variables, levels or times",
"",
"SYNOPSIS",
" <operator> infile",
......@@ -141,6 +142,10 @@ std::vector<std::string> ShowinfoHelp = {
" Prints the name of all variables.",
" showstdname Show standard names",
" Prints the standard name of all variables.",
" showatts Show all attributes",
" Prints all variable and global attributes.",
" showattsglob Show all global attributes",
" Prints all global attributes.",
" showlevel Show levels",
" Prints all levels for each variable.",
" showltype Show GRIB level types",
......@@ -157,6 +162,35 @@ std::vector<std::string> ShowinfoHelp = {
" Prints timestamp of all timesteps (format YYYY-MM-DDThh:mm:ss).",
};
std::vector<std::string> ShowattributeHelp = {
"NAME",
" showattribute, showattsvar - ",
" Show a global attribute, a variable attribute or all attributes of one variable",
"",
"SYNOPSIS",
" showattribute,attribute infile",
" showattsvar[,var_nm] infile",
"",
"DESCRIPTION",
" This operator prints attributes of a dataset.",
" If a global attribute should be printed, the attribute name can be specified as a parameter directly.",
" If a variable attribute should be printed, the following format is requested:",
" ",
" var_nm@att_nm",
" ",
" var_nm Variable name. Example: pressure",
" att_nm Attribute name. Example: units",
" ",
"",
"OPERATORS",
" showattribute Show a global attribute or a variable attribute",
" showattsvar Show all variable attributes. If var_nm is specified, only for a subset of variables.",
"",
"PARAMETER",
" attribute STRING Attribute in the format [var_nm@]att_nm",
" var_nm STRING Variable name",
};
std::vector<std::string> FiledesHelp = {
"NAME",
" partab, codetab, griddes, zaxisdes, vct - Dataset description",
......@@ -4180,7 +4214,7 @@ std::vector<std::string> WindHelp = {
"DESCRIPTION",
" This module converts relative divergence and vorticity to U and V wind and vice versa.",
" Divergence and vorticity are spherical harmonic coefficients in spectral space and",
" U and V are on a regular Gaussian grid. The Gaussian latitudes need to be ordered from",
" U and V are on a global regular Gaussian grid. The Gaussian latitudes need to be ordered from",
" north to south.",
"",
"OPERATORS",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment