# ecquote
A package to estimate the cost and volume of an ECMWF dissemination feed based on the rules described [there](https://www.ecmwf.int/en/forecasts/accessing-forecasts/payment-rules-and-options/tariffs).
To use the tool, edit a file that contains the
a series of [MARS requests](https://confluence.ecmwf.int/display/UDOC/MARS+command+and+request+syntax) 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`.
# Conditions of use
This tool is provided for evaluation and review purchases only. Only quotes submitted via the Product Requirements Catalogue will be reviewed/considered/approved: https://apps.ecmwf.int/shopping-cart/
# Licence
Copyright 2024 European Centre for Medium-Range Weather Forecasts (ECMWF).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Raw data
{
"_id": null,
"home_page": "https://github.com/ecmwf/ecquote",
"name": "ecquote",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "tool",
"author": "European Centre for Medium-Range Weather Forecasts (ECMWF)",
"author_email": "software.support@ecmwf.int",
"download_url": "https://files.pythonhosted.org/packages/d4/8c/24e9773a6d75363acf02084157491f65bccdc06a70d8eb50acaa0eea7eab/ecquote-1.7.0.tar.gz",
"platform": null,
"description": "# ecquote\n\nA package to estimate the cost and volume of an ECMWF dissemination feed based on the rules described [there](https://www.ecmwf.int/en/forecasts/accessing-forecasts/payment-rules-and-options/tariffs).\n\nTo use the tool, edit a file that contains the\na series of [MARS requests](https://confluence.ecmwf.int/display/UDOC/MARS+command+and+request+syntax) as follows:\n\n class=od,\n stream=oper,\n expver=0001,\n levtype=pl,\n type=an,\n time=0000/1200,\n param=z/t/u/v,\n levelist=500/850,\n grid=0.1/0.1,\n area=40/0/30/50\n\n type=fc,\n step=0/to/240/by/24\n\n type=cf,\n stream=enfo\n\n type=pf,\n number=1/to/50\n\nThe 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.\n\nThen simply run the `ecquote` tools:\n\n ecquote myrequests.req\n\nYou then should get a result such as:\n\n Grand total:\n\n Yearly volume: 256.9 GiB\n Yearly fields: 3,346,320\n Volume band: 1 GiB\n Volume cost: EUR 200\n EPUs: 16,627\n Discounted EPUs: 10,776\n Information cost: EUR 5,388 (core: 5,388)\n\nTo get a description of how the cost is determined, rerun the command with the option `--detailed`.\n\n# Conditions of use\n\nThis tool is provided for evaluation and review purchases only. Only quotes submitted via the Product Requirements Catalogue will be reviewed/considered/approved: https://apps.ecmwf.int/shopping-cart/\n\n# Licence\n\nCopyright 2024 European Centre for Medium-Range Weather Forecasts (ECMWF).\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n",
"bugtrack_url": null,
"license": "Apache License Version 2.0",
"summary": "A package to estimate the cost and volume of an ECMWF dissemination feed",
"version": "1.7.0",
"project_urls": {
"Homepage": "https://github.com/ecmwf/ecquote"
},
"split_keywords": [
"tool"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d48c24e9773a6d75363acf02084157491f65bccdc06a70d8eb50acaa0eea7eab",
"md5": "90e4022f4f729f966c4db35f139c7991",
"sha256": "664e211d61cdc49ee0f90efc7fd791ddfcc76735f7b6ff456961b4de9cecbc42"
},
"downloads": -1,
"filename": "ecquote-1.7.0.tar.gz",
"has_sig": false,
"md5_digest": "90e4022f4f729f966c4db35f139c7991",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 508279,
"upload_time": "2024-11-14T13:32:33",
"upload_time_iso_8601": "2024-11-14T13:32:33.106105Z",
"url": "https://files.pythonhosted.org/packages/d4/8c/24e9773a6d75363acf02084157491f65bccdc06a70d8eb50acaa0eea7eab/ecquote-1.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 13:32:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ecmwf",
"github_project": "ecquote",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ecquote"
}