DRS_TOOL(1)
π NAME π
So bestie, welcome to drs_tool β the command-line interface to DRSLIB, living its best life in section 1 of the drslib() manual. It's giving "I talk to your DRS tree so you don't have to". Periodt.
β¨ SYNPOPSIS β¨
Okay so this section exists in the original page and it is literally empty β no synopsis lines, nothing. We're not skipping it, we're just being honest that there's nothing in it. π
π DESCRIPTION π
Also empty in the original, bestie. Not a single sentence. The real vibes live in USAGE and OPTIONS below. π
πΈ USAGE πΈ
Here's the usage text, character for character, exactly how it shows up (yes, the line wrapping is squished in the original β we don't fix, we preserve):
Usage: drs_tool [command] [options] [drs-pattern]
command: list list publication-level datasets todo show file
operations pending for the next version upgrade make changes to the
selected datasets to upgrade to the next version mapfile make a
mapfile of the selected dataset history list all versions of the
selected dataset init initialise CMIP5 product detection data
So the commands it's throwing at you are:
listβ list publication-level datasetstodoβ show file operations pending for the next version upgrademakeβ make changes to the selected datasets to upgrade to the next versionmapfileβ make a mapfile of the selected datasethistoryβ list all versions of the selected datasetinitβ initialise CMIP5 product detection data
That's the whole menu, no cap. π
π OPTIONS π
--helpβ display this help message and exit--versionβ output version information and exit
And then, because the original really does list them again all over, here's the full option block:
-h,--helpβ show this help message and exit-R ROOT,--root=ROOTβ Root directory of the DRS tree-I INCOMING,--incoming=INCOMINGβ Incoming directory for DRS files. Defaults to<root>/output-a ACTIVITY,--activity=ACTIVITYβ Set DRS attribute activity for dataset discovery-p PRODUCT,--product=PRODUCTβ Set DRS attribute product for dataset discovery-i INSTITUTE,--institute=INSTITUTEβ Set DRS attribute institute for dataset discovery-m MODEL,--model=MODELβ Set DRS attribute model for dataset discovery-e EXPERIMENT,--experiment=EXPERIMENTβ Set DRS attribute experiment for dataset discovery-f FREQUENCY,--frequency=FREQUENCYβ Set DRS attribute frequency for dataset discovery-r REALM,--realm=REALMβ Set DRS attribute realm for dataset discovery-v VERSION,--version=VERSIONβ Force version upgrades to this version-P FILE,--profile=FILEβ Profile the script execution into FILE--detect-productβ Automatically detect the DRS product of incoming data
Heads up bestie:--versionshows up twice in the original β once on its own as "output version information and exit" and once as-v VERSION, --version=VERSIONwhere it forces version upgrades to that version. They are not the same thing. Don't get got. π
π REQUIRES π
Empty in the original. Nothing there. Iconic of it, honestly. β¨
π¦ FILES π¦
drs_tool uses metaconfig to configure and store configuration information, so its config may be found in a metaconfig.conf file β specifically in /etc/metaconfig/metaconfig.conf on Debian systems β which may be overridden by $HOME/.metaconfig.conf or ./metaconfig.conf. π
π ENVIRONMENT VARIABLES π
The variable METACONF_CONF β that's it, that's the whole section as written. Short queen behaviour. π
β VERSION β
0.3.0a3
π BUGS π
To query and report bugs in drs_tool, please use reportbug on Debian systems. Fr fr, that's the official route. π
π₯ SEE ALSO π₯
π«Ά AUTHOR π«Ά
DRSLIB was written by Stephen Pascoe, STFC.SC.UK. This manual page was written by Alastair McKinstry. Absolute legends, both of them. π
And that's a wrap, bestie! The footer of this page just signs off as drslib() β no date on it, so the only number we've got is the VERSION 0.3.0a3 up there. Go forth and slay your DRS tree. πβ¨π¦
π¦ where this page comes from
- debian bookworm: drslib 0.3.1.p3-2.1
- debian trixie: drslib 0.3.2-1
- ubuntu jammy: drslib 0.3.1.p3-2
- ubuntu noble: drslib 0.3.1.p3-2.1
- ubuntu questing: drslib 0.3.2-1
- ubuntu resolute: drslib 0.3.2-2 Β· BSD-3-Clause
- ubuntu stonking: drslib 0.3.2-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms