GithubHelp home page GithubHelp logo

zoziologie / ebird2latex Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 36.99 MB

Generate custom PDF checklists with eBird occurrence data.

Home Page: http://zoziologie.raphaelnussbaumer.com/ebird2latex/

TeX 7.97% Python 41.88% JavaScript 9.94% CSS 3.37% HTML 19.43% Jupyter Notebook 17.40%

ebird2latex's People

Contributors

rafnuss avatar ses4j avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ses4j

ebird2latex's Issues

URL was changed?

Came across your script/website. Just what I wanted, but I tried to use it and got this:

code_loc=DO-11&project_name=La+Altagracia&byear=2007&eyear=2017&bmonth=01&emonth=12&cat=species&cat=spuh&cat=slash&cat=hybrid&cat=domestic&cat=issf&cat=intergrade&cat=form&col=note,4cm,0&col=checkbox,1,0&col=hyphen,1,1ex&col=lang,EN,0&col=freq,year,0&condition=0.1&condition=0.01&format=a4paper,margin=0.3in&family=false
1. Read the url, transform it to dict and adapt it for our purpuse
{'code_loc': ['DO-11'], 'project_name': ['La Altagracia'], 'bmonth': ['01'], 'family': ['false'], 'format': ['a4paper,margin=0.3in'], 'eyear': ['2017'], 'byear': ['2007'], 'emonth': ['12'], 'cat': ['species', 'spuh', 'slash', 'hybrid', 'domestic', 'issf', 'intergrade', 'form'], 'col': ['note,4cm,0', 'checkbox,1,0', 'hyphen,1,1ex', 'lang,EN,0', 'freq,year,0'], 'condition': ['0.1', '0.01']}
2. Create the Bird List from eBird.org
barchar url: 
http://ebird.org/ebird/BarChart?cmd=getChart&displayType=download&reportType=location&getLocations=states&states=DO-11&bYear=2007&eYear=2017&bMonth=1&eMonth=12
The python script has fail. Sorry for this. Would you mind reporting the error to [email protected]. Thanks

Error Traceback:
Traceback (most recent call last):
  File "script_web_e2L.py", line 32, in 
    info, bird_list = e2L.bird_creator(code_loc, lang, cat, byear, eyear, bmonth, emonth)
  File "/var/www/zoziologie/wp-content/plugins/e2L/e2L.py", line 73, in bird_creator
    bc_bird_list, info = load_barchart(code_loc, byear, eyear, bmonth, emonth)
  File "/var/www/zoziologie/wp-content/plugins/e2L/e2L.py", line 108, in load_barchart
    lines = urllib.request.urlopen(url).readlines()
  File "/usr/lib/python3.2/urllib/request.py", line 139, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.2/urllib/request.py", line 376, in open
    response = meth(req, response)
  File "/usr/lib/python3.2/urllib/request.py", line 488, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.2/urllib/request.py", line 414, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.2/urllib/request.py", line 348, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.2/urllib/request.py", line 496, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.