Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 21 06:37
    justb4 commented #280
  • Sep 20 19:42
    borrob commented #280
  • Sep 20 08:51
    justb4 commented #280
  • Sep 20 01:21
    dersteppenwolf opened #282
  • Sep 20 00:05
    dersteppenwolf closed #281
  • Sep 19 22:32
    tomkralidis commented #281
  • Sep 19 22:02
    dersteppenwolf commented #281
  • Sep 19 20:28
    borrob commented #280
  • Sep 19 20:16
    justb4 commented #281
  • Sep 19 18:11
    dersteppenwolf opened #281
  • Sep 19 15:02
    justb4 commented #280
  • Sep 17 20:55
    borrob opened #280
  • Sep 17 20:54
    borrob closed #279
  • Sep 17 20:53
    borrob synchronize #279
  • Sep 17 20:45
    borrob opened #279
  • Sep 17 17:27
    justb4 closed #277
  • Sep 17 17:27
    justb4 commented #277
  • Sep 17 15:26

    justb4 on master

    PR for #277 - support ESRI ArcG… (compare)

  • Sep 17 15:26
    justb4 closed #278
Just van den Broecke
@justb4
Yes, I saw a problem as well: adding a public WCS: https://geodata.nationaalgeoregister.nl/ahn3/wcs gave: 'NoneType' object has no attribute 'identification'
Just van den Broecke
@justb4
IMO a "version" thing wcs.pyin OWSLib does not assign a default version: def WebCoverageService(url, version=None, xml=None, cookies=None, timeout=30):like with wcs.py, so no specific capabilities reader is invoked.
that is : "like with wfs.py": ``def WebFeatureService(url, version='1.0.0', xml=None, parse_remote_metadata=False,..```
``
Tom Kralidis
@tomkralidis
I recall a bug in owslib.wcs
Tom Kralidis
@tomkralidis
I think it's this one: geopython/OWSLib#346
Just van den Broecke
@justb4
Just van den Broecke
@justb4
but like in my case version is set to 2.0.1 when no version provided to the OWS, which falls through, as the highest version supported is 1.1.1 in https://github.com/geopython/OWSLib/blob/master/owslib/wcs.py#L36, also seen in debugger...
Jorge Samuel Mendes de Jesus
@jorgejesus
I also experience problems with getCoverage () it has a fixed timeout=30, so for large geotiff it times out
Just van den Broecke
@justb4
a quickfix for https://github.com/geopython/GeoHealthCheck/blob/master/GeoHealthCheck/healthcheck.py#L73, tested, is to call wcs.py with version: ows = WebCoverageService(url, version='1.0.0')
but IMO the long-term fix is to support WCS v2.* in OWSLib
Jorge Samuel Mendes de Jesus
@jorgejesus
@justb4 +1 WCS v2 way way better
Just van den Broecke
@justb4
@tomkralidis but shall I add the quickfix for now: ows = WebCoverageService(url, version='1.0.0') on https://github.com/geopython/GeoHealthCheck/blob/master/GeoHealthCheck/healthcheck.py#L73 pending WCS v2.* support in OWSLib?
Just van den Broecke
@justb4
Found https://github.com/geopython/OWSLib/pull/349/ for WCS 2 support. PR is closed but not merged it seems. A QA thing?
Jo Cook
@archaeogeek
Hello GeoHealthCheck peeps- I have a question about the admin email. I need to change this from what I originally set up- I've tested the new email account using sendmail on the server and it works, but when I change the config in instance/config_site.py and restart GeoHealthCheck it doesn't send emails. If I switch back to my old email account, it works fine. Am I missing something? Do I need to redo the paver steps or something like that?
Tom Kralidis
@tomkralidis
@justb4 we've sinced some WCS issues in OWSLib master.
Jo Cook
@archaeogeek
Hello again GeoHealthCheck peeps- I have tracked down my email notification emails and narrowed it down to two problems, which might be specific to gmail. Firstly I was getting inconsistent results (some emails not being sent) when the from address and to address were the same, eg both equal to the value of GHC_ADMIN_EMAIL. Secondly I had to tweak the format of the actual message. This has meant changes to the email notifications template, notifications.py, and the site config ( to add another email account). I would like to submit a pull request for all of this but it will be incomplete because of potential changes to docker and setting up instance/config-site.py from a master (I presume). Would you like me to submit what I have anyway? It probably needs a lot of reviewing for consistency etc
Tom Kralidis
@tomkralidis
@archaeogeek thanks for the info. Are your changes based on bugs/enhancements? Pull requests are more than welcome and GitHub allows us to review/discuss nicely
Jo Cook
@archaeogeek
I'm uncertain whether they count as bugs or not. All I can say is that I had trouble using a gmail forwarding account for the email, and we tracked it down to the way the message was constructed by geohealthcheck. Having the ability to have a separate email for notifications is an enhancement, I suppose. I'll submit a pull request with my changes for discussion.
cmalmqui
@cmalmqui
Hello!
Just stumbled across GeoHealthCheck and wonder what linux distro will give me the easiest install of this package?
Have tried 64bits versions of ubuntu 16.04 and 14.04, but I quickly run into troubles with the paver setup.
I do not have enough time to debug at this level :-)
Using digitalocean.com which supports all major distros and versions.
Thanks
Tom Kralidis
@tomkralidis
Hi @cmalmqui what issues are you having and what steps did you take? We need more information to be able to reproduce.
cmalmqui
@cmalmqui

Hi @tomkralidis,
All sorted now. Python3 is now the default python version on Ubuntu 16.04LTS, but virtualenv handles this without any problems:

user@host:~# virtualenv ghc && cd ghc
The executable python2 (from --python=python2) does not exist
user@host:~# apt-get install python2.7
user@host:~# which python2.7
/usr/bin/python2.7
user@host:~# virtualenv --python=/usr/bin/python2.7 ghc
The rest of the install went flawlessly.

Thanks for excellent instructions and an interesting package!

Tom Kralidis
@tomkralidis
@cmalmqui great! Thanks for the feedback. Any suggestions/ideas/contributions are always more than welcome!
Just van den Broecke
@justb4
Hi Tom and GHC folks! Can we discuss GHC code sprint https://wiki.osgeo.org/wiki/Daytona_Beach_Code_Sprint_2017 stuff here?
Tom Kralidis
@tomkralidis
hey @justb4 sure makes sense!
sounds like v2 is the discussion
Tom Kralidis
@tomkralidis
prior to that we should figure out what issues we can fix before cutting a release tag.
so then we could cut a 0.1.0 tag and then move forward with a re-arch
Just van den Broecke
@justb4
for me two issues stand out that would make 0.1.0 very useful compared to standard HTTP uptime trackers: #19 (checklists implementation) and #75 (tagging/grouping)
Tom Kralidis
@tomkralidis
so for #75 we can simply add keywords to the Resource model?
Just van den Broecke
@justb4
Yes, this is also called "tags", like in blogs. There are many examples, e.g. http://pieceofpy.com/category/sqlalchemy/2
Tom Kralidis
@tomkralidis
sorry yes 'tags'
Just van den Broecke
@justb4
And tag clouds in bootstrap UI like https://github.com/alunarbeach/bootstrap-tag-cloud
Tom Kralidis
@tomkralidis
+1, nice.
Just van den Broecke
@justb4
Usually means 2 extra tables: one to define tags and one for the many-to-many relation Tag-Resource. Resource can remain as-is.
Tom Kralidis
@tomkralidis
I'm good with that
Just van den Broecke
@justb4
Yes, there is quite some variety in implementation, also dependent what one wants to tag.
Tom Kralidis
@tomkralidis
do we tag at resource level?
Just van den Broecke
@justb4
e.g. not just Resources but also Users or Resource Types, but I would stick to Resources (was already typing)..
Also for simplicity of implementation.
One use case is DTAP: we run e.g. the same services in different environments (Dev, Test, Acceptance, Production)
Tom Kralidis
@tomkralidis
so one 'could' tag a resource like that, sure
Just van den Broecke
@justb4
Other case are organizational tags: departments, groups etc
Or Projects:projectX, projectY etc
One issue is if tags are "global" or tied to a user. i.e. can anyone add/delete tags?
Tom Kralidis
@tomkralidis
so we could have a "group" column added to Resource, as well as a tags setup
Just van den Broecke
@justb4
what is Group here? Like in organizational group?
Tom Kralidis
@tomkralidis
y