Skip to content
Snippets Groups Projects
Select Git revision
  • 69bbdfbe6df3c19c483d6258bb7352cf59f08b44
  • master default protected
  • hotfix/mapping-idp
  • release-1.10 protected
  • dev protected
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • release-1.9 protected
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • 518-spark-doesn-t-map-the-headers-correct
  • 485-fixity-checks
  • 530-various-schema-problems-with-subsets
  • release-1.7 protected
  • fix/auth-service
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
  • v1.9.3 protected
  • v1.9.2 protected
  • v1.9.2-rc0 protected
  • v1.9.1 protected
  • v1.9.0 protected
41 results

DatabaseToolbar.vue

Blame
  • testecmwfapi.py 1.16 KiB
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    
    
    import pytest
    from ecmwfapi import ECMWFDataServer
    from ecmwfapi import ECMWFService
    
    class TestECMWFApi:
        """
        """
    
        def test_public():
            server = ECMWFDataServer()
    
            server.retrieve({'dataset' : "interim",
                             'time'    : "00",
                             'date'    : "2013-09-01/to/2013-09-30",
                             'step'    : "0",
                             'type'    : "an",
                             'levtype' : "sfc",
                             'param'   : "165.128/41.128",
                             'grid'    : "0.75/0.75",
                             'target'  : "interim201309.grib"
                            })
    
        def test_member():
            server = ECMWFService("mars")
    
            server.execute({'class'   : "ei",
                            'time'    : "00",
                            'date'    : "2013-09-01/to/2013-09-30",
                            'step'    : "0",
                            'type'    : "an",
                            'levtype' : "sfc",
                            'param'   : "165.128/41.128",
                            'grid'    : "0.75/0.75"},
                           "interim201309.grib")