Skip to main content

A package to estimate the cost and volume of an ECMWF dissemination feed

Project description

ecquote

A package to estimate the cost and volume of an ECMWF dissemination feed based on the rules described there.

To use the tool, edit a file that contains the a series of MARS requests as follows:

class=od,
stream=oper,
expver=0001,
levtype=pl,
type=an,
time=0000/1200,
param=z/t/u/v,
levelist=500/850,
grid=0.1/0.1,
area=40/0/30/50

type=fc,
step=0/to/240/by/24

type=cf,
stream=enfo

type=pf,
number=1/to/50

The verb of the request, such as retrieve or dissemination, is optional. The example above describes four requests. As for with the MARS language, attributes that are not specified are inherited from the previous request.

Then simply run the ecquote tools:

ecquote myrequests.req

You then should get a result such as:

Grand total:

    Yearly volume:    256.9 GiB
    Yearly fields:    3,346,320
    Volume band:      1 GiB
    Volume cost:      EUR 200
    EPUs:             16,627
    Discounted EPUs:  10,776
    Information cost: EUR 5,388 (core: 5,388)

To get a description of how the cost is determined, rerun the command with the option --detailed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecquote-1.3.2.tar.gz (363.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page