ctbtodev
Last change
on this file since be6c0a2 was
be6c0a2,
checked in by Anne Philipp <anne.philipp@…>, 4 years ago
|
added Readme to tests; changed directory structure; added recent test results;
|
-
Property mode set to
100644
|
File size:
621 bytes
|
Rev | Line | |
---|
[be6c0a2] | 1 | #!/usr/bin/env python3 |
---|
| 2 | # -*- coding: utf-8 -*- |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | import pytest |
---|
| 6 | from ecmwfapi import ECMWFService |
---|
| 7 | |
---|
| 8 | class TestECMWFApi: |
---|
| 9 | """ |
---|
| 10 | """ |
---|
| 11 | |
---|
| 12 | def test_member(): |
---|
| 13 | server = ECMWFService("mars") |
---|
| 14 | |
---|
| 15 | server.execute({'class' : "ei", |
---|
| 16 | 'time' : "00", |
---|
| 17 | 'date' : "2013-09-01/to/2013-09-30", |
---|
| 18 | 'step' : "0", |
---|
| 19 | 'type' : "an", |
---|
| 20 | 'levtype' : "sfc", |
---|
| 21 | 'param' : "165.128/41.128", |
---|
| 22 | 'grid' : "0.75/0.75"}, |
---|
| 23 | "interim201309.grib") |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.