{"id":192,"date":"2022-10-24T08:29:13","date_gmt":"2022-10-24T08:29:13","guid":{"rendered":"https:\/\/lesfarrell.com\/?page_id=192"},"modified":"2022-10-26T15:55:02","modified_gmt":"2022-10-26T15:55:02","slug":"python-applications","status":"publish","type":"page","link":"https:\/\/lesfarrell.com\/?page_id=192","title":{"rendered":"Python Applications"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As well as various bits of Python to automate in house tasks I&#8217;ve written a small number of larger applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tug Height<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-left wp-block-paragraph\">Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges.<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\">Because of the risk of collision with things like bridges etc it&#8217;s important for the vessel to know its air draught.  To calculate this the vessels are fitted with a sonar distance sensor which calculates the wheel house height above the deck. I wrote a Python application which interfaces with this sensor and using some additional user supplied details calculated the vessels current air draught.    <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column has-nv-text-dark-bg-background-color has-background is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/tug-height-3-1024x535.png\" alt=\"\" class=\"wp-image-193\" srcset=\"https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/tug-height-3-1024x535.png 1024w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/tug-height-3-300x157.png 300w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/tug-height-3-768x401.png 768w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/tug-height-3.png 1157w\" \/><figcaption>Applications main screen.<\/figcaption><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-nv-text-dark-bg-background-color has-background wp-block-paragraph\"><strong><b><a href=\"https:\/\/lesfarrell.com\/?page_id=157\" title=\"Thames AIS\">Thames AIS<\/a><\/b> &#8211; Passenger Counting System<\/strong><\/p>\n\n\n\n<p class=\"has-nv-text-dark-bg-background-color has-background wp-block-paragraph\">As well as writing the software used on the larger vessels allowing vessels to track each other. I wrote a small application for the smaller Rigid Inflatable Boats on the Thames which allows the Skipper to enter the number of passengers on board using a small keypad and display. These figures are then sent to the vessels transponder and transmitted using VHF radio. This allows the Port Authority to know both the vessels position and number of passengers on board at all times. <\/p>\n\n\n\n<div class=\"wp-block-columns has-nv-light-bg-background-color has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column has-nv-light-bg-background-color has-background is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG20220126112204-1024x768.jpg\" alt=\"\" class=\"wp-image-212\" srcset=\"https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG20220126112204-1024x768.jpg 1024w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG20220126112204-300x225.jpg 300w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG20220126112204-768x576.jpg 768w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG20220126112204-1536x1152.jpg 1536w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG20220126112204-2048x1536.jpg 2048w\" \/><figcaption>Application being tested on a Raspberry Pi.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column has-nv-light-bg-background-color has-background is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG_20200116_104511474-1024x768.jpg\" alt=\"\" class=\"wp-image-208\" srcset=\"https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG_20200116_104511474-1024x768.jpg 1024w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG_20200116_104511474-300x225.jpg 300w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG_20200116_104511474-768x576.jpg 768w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG_20200116_104511474-1536x1152.jpg 1536w, https:\/\/lesfarrell.com\/wp-content\/uploads\/2022\/10\/IMG_20200116_104511474-2048x1536.jpg 2048w\" \/><figcaption>Keypad and display fitted to a RIB console.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As well as various bits of Python to automate in house tasks I&#8217;ve written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of&hellip;&nbsp;<a href=\"https:\/\/lesfarrell.com\/?page_id=192\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python Applications<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"class_list":["post-192","page","type-page","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"As well as various bits of Python to automate in house tasks I&#039;ve written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/lesfarrell.com\/?page_id=192\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Les Farrell - Software Developer &amp; Solution Provider\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Python Applications - Les Farrell\" \/>\n\t\t<meta property=\"og:description\" content=\"As well as various bits of Python to automate in house tasks I&#039;ve written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/lesfarrell.com\/?page_id=192\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-10-24T08:29:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-10-26T15:55:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@WritesSoftware\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Python Applications - Les Farrell\" \/>\n\t\t<meta name=\"twitter:description\" content=\"As well as various bits of Python to automate in house tasks I&#039;ve written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@WritesSoftware\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lesfarrell.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lesfarrell.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192#listItem\",\"name\":\"Python Applications\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192#listItem\",\"position\":2,\"name\":\"Python Applications\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lesfarrell.com#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/#person\",\"name\":\"lesfarrell@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192#personImage\",\"url\":\"https:\\\/\\\/lesfarrell.com\\\/wp-content\\\/litespeed\\\/avatar\\\/067d9c7839ffa23eda06e298f5055e68.jpg?ver=1781887874\",\"width\":96,\"height\":96,\"caption\":\"lesfarrell@gmail.com\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192#webpage\",\"url\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192\",\"name\":\"Python Applications - Les Farrell\",\"description\":\"As well as various bits of Python to automate in house tasks I've written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/?page_id=192#breadcrumblist\"},\"datePublished\":\"2022-10-24T08:29:13+00:00\",\"dateModified\":\"2022-10-26T15:55:02+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/#website\",\"url\":\"https:\\\/\\\/lesfarrell.com\\\/\",\"name\":\"Les Farrell\",\"description\":\"Software Developer & Solution Provider\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/lesfarrell.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Python Applications - Les Farrell","description":"As well as various bits of Python to automate in house tasks I've written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of","canonical_url":"https:\/\/lesfarrell.com\/?page_id=192","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/lesfarrell.com\/?page_id=192#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/lesfarrell.com#listItem","position":1,"name":"Home","item":"https:\/\/lesfarrell.com","nextItem":{"@type":"ListItem","@id":"https:\/\/lesfarrell.com\/?page_id=192#listItem","name":"Python Applications"}},{"@type":"ListItem","@id":"https:\/\/lesfarrell.com\/?page_id=192#listItem","position":2,"name":"Python Applications","previousItem":{"@type":"ListItem","@id":"https:\/\/lesfarrell.com#listItem","name":"Home"}}]},{"@type":"Person","@id":"https:\/\/lesfarrell.com\/#person","name":"lesfarrell@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/lesfarrell.com\/?page_id=192#personImage","url":"https:\/\/lesfarrell.com\/wp-content\/litespeed\/avatar\/067d9c7839ffa23eda06e298f5055e68.jpg?ver=1781887874","width":96,"height":96,"caption":"lesfarrell@gmail.com"}},{"@type":"WebPage","@id":"https:\/\/lesfarrell.com\/?page_id=192#webpage","url":"https:\/\/lesfarrell.com\/?page_id=192","name":"Python Applications - Les Farrell","description":"As well as various bits of Python to automate in house tasks I've written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/lesfarrell.com\/#website"},"breadcrumb":{"@id":"https:\/\/lesfarrell.com\/?page_id=192#breadcrumblist"},"datePublished":"2022-10-24T08:29:13+00:00","dateModified":"2022-10-26T15:55:02+00:00"},{"@type":"WebSite","@id":"https:\/\/lesfarrell.com\/#website","url":"https:\/\/lesfarrell.com\/","name":"Les Farrell","description":"Software Developer & Solution Provider","inLanguage":"en-GB","publisher":{"@id":"https:\/\/lesfarrell.com\/#person"}}]},"og:locale":"en_GB","og:site_name":"Les Farrell - Software Developer &amp; Solution Provider","og:type":"article","og:title":"Python Applications - Les Farrell","og:description":"As well as various bits of Python to automate in house tasks I've written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of","og:url":"https:\/\/lesfarrell.com\/?page_id=192","article:published_time":"2022-10-24T08:29:13+00:00","article:modified_time":"2022-10-26T15:55:02+00:00","twitter:card":"summary_large_image","twitter:site":"@WritesSoftware","twitter:title":"Python Applications - Les Farrell","twitter:description":"As well as various bits of Python to automate in house tasks I've written a small number of larger applications. Tug Height Tug Height is a small program currently used aboard tugs with hydraulic wheel houses. Which allow the boats operators to see over obstacles, for example when pushing barges. Because of the risk of","twitter:creator":"@WritesSoftware"},"aioseo_meta_data":{"post_id":"192","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-10-24 08:29:14","updated":"2025-06-06 22:50:50","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lesfarrell.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPython Applications\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/lesfarrell.com"},{"label":"Python Applications","link":"https:\/\/lesfarrell.com\/?page_id=192"}],"_links":{"self":[{"href":"https:\/\/lesfarrell.com\/index.php?rest_route=\/wp\/v2\/pages\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesfarrell.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lesfarrell.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lesfarrell.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesfarrell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192"}],"version-history":[{"count":8,"href":"https:\/\/lesfarrell.com\/index.php?rest_route=\/wp\/v2\/pages\/192\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/lesfarrell.com\/index.php?rest_route=\/wp\/v2\/pages\/192\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/lesfarrell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}