Skip to content

Practical usage of drsview to generate datasets which can be opened programmatically #14

@bnlawrence

Description

@bnlawrence

We have a bucket that we can inspect as follows:

drsview -c Period -s Variant=r1i1p1f1 -s Frequency=6hrPt

which results in

Variable : ['epv', 'hfnpuv', 'hus', 'ps', 'psl', 'ta', 'tmfurg', 'tmfvrg', 'ua', 'va', 'wa', 'zg', 'zg500']
Source : ['HadGA7EA-N1280']
Experiment : ['highresSST-present']
Variant : ['r1i1p1f1']
Frequency : ['6hrPt']
Period : [1979-03-01T0600 ... 2000-12-01T0600] (len=258)
nFields : ['N120']

Ideally we'd be able to do:

drsview -c Period -s Variant=r1i1p1f1 -s Frequency=6hrPt :: ls

which would generate a file listing

or even

drsview -c Period -s Variant=r1i1p1f1 -s Frequency=6hrPt > r1i1f1p1_6hrPt.cfa

which would download a CFA file we could use to manipulate the data.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions