<commit_before>class Ncview < Formula
  desc "Visual browser for netCDF format files"
  homepage "https://cirrus.ucsd.edu/ncview/"
  url "ftp://cirrus.ucsd.edu/pub/ncview/ncview-2.1.8.tar.gz"
  mirror "https://dl.bintray.com/homebrew/mirror/ncview-2.1.8.tar.gz"
  sha256 "e8badc507b9b774801288d1c2d59eb79ab31b004df4858d0674ed0d87dfc91be"
  license "GPL-3.0-only"
  revision OS.mac? ? 4 : 6

  # The stable archive in the formula is fetched over FTP and the website for
  # the software hasn't been updated to list the latest release (it has been
  # years now). We're checking Debian for now because it's potentially better
  # than having no check at all.
  livecheck do
    url "https://deb.debian.org/debian/pool/main/n/ncview/"
    regex(/href=.*?ncview[._-]v?(\d+(?:\.\d+)+)(?:\+ds)?\.orig\.t/i)
  end

  bottle do
    sha256 "b416e10f8aa1674f1c0323d5f1ecbadf930069520d0c093e18d71a3d07957c19" => :catalina
    sha256 "386218ffad288810cb9447f3b666cbbea50be2517c1a6a36105980e8682be949" => :mojave
    sha256 "37672fc5cea8e4a1178b2e0a91e2277099b900045617d01c1070cccad407fd1c" => :high_sierra
  end

  depends_on "libice"
  depends_on "libpng"
  depends_on "libsm"
  depends_on "libx11"
  depends_on "libxaw"
  depends_on "libxt"
  depends_on "netcdf"
  depends_on "udunits"

  depends_on "libxext" unless OS.mac?

  def install
    # Bypass compiler check (which fails due to netcdf's nc-config being<commit_msg>ncview: update 2.1.8_6 bottle.<commit_after>class Ncview < Formula
  desc "Visual browser for netCDF format files"
  homepage "https://cirrus.ucsd.edu/ncview/"
  url "ftp://cirrus.ucsd.edu/pub/ncview/ncview-2.1.8.tar.gz"
  mirror "https://dl.bintray.com/homebrew/mirror/ncview-2.1.8.tar.gz"
  sha256 "e8badc507b9b774801288d1c2d59eb79ab31b004df4858d0674ed0d87dfc91be"
  license "GPL-3.0-only"
  revision OS.mac? ? 4 : 6

  # The stable archive in the formula is fetched over FTP and the website for
  # the software hasn't been updated to list the latest release (it has been
  # years now). We're checking Debian for now because it's potentially better
  # than having no check at all.
  livecheck do
    url "https://deb.debian.org/debian/pool/main/n/ncview/"
    regex(/href=.*?ncview[._-]v?(\d+(?:\.\d+)+)(?:\+ds)?\.orig\.t/i)
  end

  bottle do
    sha256 "b416e10f8aa1674f1c0323d5f1ecbadf930069520d0c093e18d71a3d07957c19" => :catalina
    sha256 "386218ffad288810cb9447f3b666cbbea50be2517c1a6a36105980e8682be949" => :mojave
    sha256 "37672fc5cea8e4a1178b2e0a91e2277099b900045617d01c1070cccad407fd1c" => :high_sierra
    sha256 "40ca93bccf484342130a47644be69b433e2d03bece85d7c9b81df646ec4f4539" => :x86_64_linux
  end

  depends_on "libice"
  depends_on "libpng"
  depends_on "libsm"
  depends_on "libx11"
  depends_on "libxaw"
  depends_on "libxt"
  depends_on "netcdf"
  depends_on "udunits"

  depends_on "libxext" unless OS.mac?

  def install
    # Bypass compiler check (which fails due to netcdf's nc-config being
{'fraction_non_alphanumeric': 0.10918367346938776, 'fraction_numerical': 0.14591836734693878, 'mean_word_length': 4.318264014466546, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2176357', 'n_tokens_mistral': 1462, 'n_tokens_neox': 1245, 'n_words': 241}