Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    David Huard
    @huard
    So yes, this would be part of DACCS, but we lack the manpower at the moment to make any progress on this. Best case scenario is probably 6 months from now before we can get started, unless I can raise the priority for this issue.
    Nils Hempelmann
    @nilshempelmann
    @huard Ok. I ll try to reactivate at least an initial version of the robustness calculation. To be updated when ever someone has the capacities.
    David Huard
    @huard
    @nilshempelmann If you can document what methods would be valuable, existing implementations, documentation and tests we can reuse, this will help speed things up.
    Nils Hempelmann
    @nilshempelmann
    @huard I opened a ticked, bird-house/flyingpigeon#313 to collect infos.
    MacPingu
    @cehbrecht
    @huard @Zeitsperre birdy 0.6.6 is now on conda-forge: https://anaconda.org/conda-forge/birdy/files
    David Huard
    @huard
    Thanks!
    Nils Hempelmann
    @nilshempelmann
    @cehbrecht @huard : finch is not starting properly. Are you familliar with this Error:
    starting WPS service on http://127.0.0.1:8092/wps
    INFO:werkzeug: * Running on http://127.0.0.1:8092/ (Press CTRL+C to quit)
    INFO:werkzeug:127.0.0.1 - - [09/Mar/2020 19:49:14] "GET /outputs/59734d66-6236-11ea-8a91-9cb6d08a53e7.xml HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [09/Mar/2020 19:49:14] "GET /outputs/59734d66-6236-11ea-8a91-9cb6d08a53e7.xml HTTP/1.1" 200 -
    its repeating constantly this Info message ...
    David Huard
    @huard
    This does not look like an error. Is it possible your client is sending repeated status requests ?
    Nils Hempelmann
    @nilshempelmann
    @huard You are right !! Thanks. Its my client waiting for an suceeded process status, but the job failed, so we are waiting and waiting and waiting ...
    David Huard
    @huard
    @cehbrecht Do you have some time today to help me fix birdy issues ? A colleague has a demo in a couple of hours and birdy has this longstanding issue that we neglected: bird-house/birdy#171
    MacPingu
    @cehbrecht
    @huard … I look at it now.
    David Huard
    @huard
    Just opened a PR
    David Huard
    @huard
    @cehbrecht still had to make some tweaks. Should I do another bump ?
    MacPingu
    @cehbrecht
    @huard “bump” … you mean making a new release? Go ahead ...
    David Huard
    @huard
    Yes.
    MacPingu
    @cehbrecht

    @huard I have upload birdy 0.6.8 to pypi:
    https://pypi.org/manage/project/birdhouse-birdy/releases/

    If you tell me your pypi username I can add you as collaborator.

    David Huard
    @huard
    davidhuard
    MacPingu
    @cehbrecht
    @huard I have added you as owner.
    David Huard
    @huard
    Thanks! Will probably make another patch release to fix an issue I discovered today.
    Nils Hempelmann
    @nilshempelmann
    @/all
    doodle and doc is set up for the next video conference, planed for May
    https://github.com/bird-house/bird-house.github.io/wiki/Meetings
    Nik Radoš
    @nikola-rados

    Hey all, I was hoping to get some help setting up birds in phoenix.

    I have deployed to a docker server using birdhouse-deploy and I've registered the available birds (hummingbird, finch, flyingpigeon, malleefowl) along with my own bird. The issue is that none of the bird's processes are working. When trying to run one I get an error message stating "Error: Could not read status document after 5 retries. Giving up.". This happens for all the birds and I'm not sure exactly how to fix it. I've looked through the code but don't have a strong understanding of what exactly the status document is. Any tips would be very much appreciated!

    Nils Hempelmann
    @nilshempelmann
    What kind of bird have you build ? Sounds good!
    Nik Radoš
    @nikola-rados
    @nilshempelmann I'm not familiar with birdy, I'll have to take a look. I am in the process of building a bird that wraps some internal tools from PCIC!
    Nils Hempelmann
    @nilshempelmann
    @nikola-rados : birdy is a python client to call the services. easy to install, and handy to use https://github.com/bird-house/birdy
    @nikola-rados: sounds good for the PCIC bird. Curious to see code, if its allowed to share.
    Long Vu
    @tlvu
    @nikola-rados is your bird accessible by the anonymous Magpie user? curl --include "https://pavics.ouranos.ca/twitcher/ows/proxy/flyingpigeon?service=WPS&version=1.0.0&request=GetCapabilities"
    oh wait, how are you integrating your bird to the PAVICS stack or it is not integrated?
    Anyways, I have no experience with Phoenix, try giving birdy a try. It's another WPS client.
    The Jupyter env coming with the PAVICS stack has birdy already installed together with a bunch of other useful libraries. To try it quickly, you can try the one on our PAVICS instance: https://pavics.ouranos.ca/jupyter/
    Long Vu
    @tlvu
    I've emailed you the demo account password.
    Nik Radoš
    @nikola-rados

    Sorry I was afk for lunch.

    @nilshempelmann its in our github repo so feel free to have a look! It's still fairly early on so if you have any comments or suggestions those are welcome.

    @tlvu thanks for the info, I'll give it a try.

    Nils Hempelmann
    @nilshempelmann
    Cool. I ll check it out! Thanks.
    Nils Hempelmann
    @nilshempelmann
    @nikola-rados just installed thunderbird on my local mashin. Well as far as I see, it't empty so far.
    # import the WPS client and connet to the server
    from birdy import WPSClient
    import birdy 
    
    tb_server = 'http://localhost:8094/wps'   # link to the local thunderbird server
    
    # simple connection (not recommended for larger processing)
    tb = WPSClient(tb_server)
    
    # asyncron connection with progess status requests
    tb_i = WPSClient(url=tb_server, progress=True)
    Thats how you can call it with birdy. I put thunderbird on port 8094, per default it is on 5000.
    Nik Radoš
    @nikola-rados
    The only functionality is on a branch that has yet to be merged, i3-gen-climos. I'm not sure if this would change the outcome of this test.
    Nils Hempelmann
    @nilshempelmann
    it you want to test:
    out = tb.hello('Nikola')
    out.get()[0]
    good luck :-)
    Nik Radoš
    @nikola-rados
    Thank you, I'll give it a try when I get the chance!
    Nils Hempelmann
    @nilshempelmann
    @nikola-rados I checked out the i3-gen-climos branch, but the environment.yml is not complete.
    ModuleNotFoundError: No module named 'nchelpers'
    Nils Hempelmann
    @nilshempelmann
    @huard @cehbrecht : What is the advantage in using notebooks for testing instead of the nosetest which are already integrated? For me it looks more like an advantage to test if a jupyter server is running. but this is PAVICS specific.
    Nik Radoš
    @nikola-rados
    @nilshempelmann I actually put the package into the requirements.txt file for pip rather than use conda.
    Nils Hempelmann
    @nilshempelmann
    @nikola-rados how do I than propperly install the bird?
    Nik Radoš
    @nikola-rados
    $ python3 -m venv venv
    $ source venv/bin/activate
    (venv)$ pip install -i https://pypi.pacificclimate.org/simple/ -r requirements.txt
    (venv)$ pip install .
    That sequence should do it! You can run thunderbird start from that environment.
    Nils Hempelmann
    @nilshempelmann
    @nikola-rados I recieved an error:
    ERROR: Command errored out with exit status 1:
         command: /home/nils/anaconda3/envs/thunderbird/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rz37xr0m/netCDF4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rz37xr0m/netCDF4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-rz37xr0m/netCDF4/pip-egg-info
             cwd: /tmp/pip-install-rz37xr0m/netCDF4/
        Complete output (23 lines):
        Package hdf5 was not found in the pkg-config search path.
        Perhaps you should add the directory containing `hdf5.pc'
        to the PKG_CONFIG_PATH environment variable
        No package 'hdf5' found
        /tmp/pip-install-rz37xr0m/netCDF4/setup.py:161: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
          config = configparser.SafeConfigParser()
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-rz37xr0m/netCDF4/setup.py", line 341, in <module>
            _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs)
          File "/tmp/pip-install-rz37xr0m/netCDF4/setup.py", line 306, in _populate_hdf5_info
            raise ValueError('did not find HDF5 headers')
        ValueError: did not find HDF5 headers
        reading from setup.cfg...
        using nc-config ...
    
            HDF5_DIR environment variable not set, checking some standard locations ..
        checking /home/nils ...
        checking /usr/local ...
        checking /sw ...
        checking /opt ...
        checking /opt/local ...
        checking /usr ...
        ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    We should update our developer guide :-) https://birdhouse.readthedocs.io/en/latest/dev_guide.html#
    Nik Radoš
    @nikola-rados
    Ah yes, you need to install cdo as well, I forgot about that. We could move this conversation to PM's so we don't flood the chat.