ecmwf-api-client | Python API to access ECMWF archive | REST library

 by   ecmwf Python Version: 1.6.3 License: Apache-2.0

kandi X-RAY | ecmwf-api-client Summary

kandi X-RAY | ecmwf-api-client Summary

ecmwf-api-client is a Python library typically used in Web Services, REST, Numpy applications. ecmwf-api-client has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install ecmwf-api-client' or download it from GitHub, PyPI.

Python API to access ECMWF archive
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ecmwf-api-client has a low active ecosystem.
              It has 36 star(s) with 17 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 2 have been closed. On average issues are closed in 28 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ecmwf-api-client is 1.6.3

            kandi-Quality Quality

              ecmwf-api-client has 0 bugs and 0 code smells.

            kandi-Security Security

              ecmwf-api-client has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ecmwf-api-client code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ecmwf-api-client is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ecmwf-api-client releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              ecmwf-api-client saves you 183 person hours of effort in developing the same functionality from scratch.
              It has 571 lines of code, 35 functions and 6 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ecmwf-api-client and discovered the below as its top functions. This is intended to give you an instant insight into ecmwf-api-client implemented functionality, and help decide if they suit your requirements.
            • Execute an API request
            • Cleanup resources
            • Return True if the task is ready
            • Make a POST request
            • Make a HTTP request
            • Execute a request
            • Transfer file to given path
            • Return a human - readable name
            • Return the result
            • Wait for the response
            • Read the contents of a file
            • Try to get the apikey values from environment variables
            • Get api key and url from rcfile
            • Get the values from the environment variables
            • Retrieve dataset
            • Read a file
            • Make a GET request
            Get all kandi verified functions for this library.

            ecmwf-api-client Key Features

            No Key Features are available at this moment for ecmwf-api-client.

            ecmwf-api-client Examples and Code Snippets

            Example
            Pythondot img1Lines of Code : 23dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            #!/usr/bin/env python
            from ecmwfapi import ECMWFDataServer
            
            # To run this example, you need an API key
            # available from https://api.ecmwf.int/v1/key/
            
            server = ECMWFDataServer()
            server.retrieve({
                'origin'    : "ecmf",
                'levtype'   : "sfc",
                 
            Logging
            Pythondot img2Lines of Code : 9dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            import logging
            from ecmwfapi import ECMWFDataServer
            
            logging.basicConfig(level=logging.INFO)
            
            def my_logging_function(msg):
                logging.info(msg)
            
            server = ECMWFDataServer(log=my_logging_function)
              

            Community Discussions

            Trending Discussions on ecmwf-api-client

            QUESTION

            ImportError: No module named ecmwfapi
            Asked 2022-Feb-08 at 13:52

            I am having a hard time using the ecmwf-api-client.

            I have successfully installed the interface.

            I have also created a ~/.ecmwfapirc file with my credentials.

            I have saved the test script in a file: myMac ~ % ./test.sh

            When I run the script I get the following error:

            ...

            ANSWER

            Answered 2022-Feb-08 at 13:52

            There, I fixed it.

            I came across this, and although the accepted answer seemed plausible, it didn't do the trick for me. Even though the default version of python I am using is 3.9.10, when trying to install pip from scratch I got a 'ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.7'.

            While looking into this, I found this other issue, and if you read through the comments you'll soon find out that the relationship between Homebrew and Python <3 is troublesome.

            So, assuming that for some reason pip was targeting Python 2.7, which is indeed installed but to my knowledge not used, I ran pip2 install ecmwf-api-client, which gave me a deprecation warning, but did its job.

            I can now connect to the API, everything seems to be working correctly.

            Source https://stackoverflow.com/questions/71019382

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ecmwf-api-client

            Install via pip with:. $ pip install ecmwf-api-client.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install ecmwf-api-client

          • CLONE
          • HTTPS

            https://github.com/ecmwf/ecmwf-api-client.git

          • CLI

            gh repo clone ecmwf/ecmwf-api-client

          • sshUrl

            git@github.com:ecmwf/ecmwf-api-client.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular REST Libraries

            public-apis

            by public-apis

            json-server

            by typicode

            iptv

            by iptv-org

            fastapi

            by tiangolo

            beego

            by beego

            Try Top Libraries by ecmwf

            cfgrib

            by ecmwfPython

            climetlab

            by ecmwfPython

            cdsapi

            by ecmwfPython

            notebook-examples

            by ecmwfJupyter Notebook

            eccodes

            by ecmwfC++