{"id":18854387,"url":"https://github.com/urbanjost/m_datapac","last_synced_at":"2026-01-27T00:06:38.341Z","repository":{"id":117557908,"uuid":"498480887","full_name":"urbanjost/M_datapac","owner":"urbanjost","description":"The NIST DATAPAC package modularized and made available as an fpm(1) package","archived":false,"fork":false,"pushed_at":"2025-07-11T02:28:25.000Z","size":50642,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T05:52:38.980Z","etag":null,"topics":["fortran","fortran-package-manager","probability-distribution","random","random-number-generator","rng","statistics"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/urbanjost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-31T20:03:19.000Z","updated_at":"2025-07-11T00:33:03.000Z","dependencies_parsed_at":"2025-05-23T05:21:06.805Z","dependency_job_id":null,"html_url":"https://github.com/urbanjost/M_datapac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urbanjost/M_datapac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_datapac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_datapac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_datapac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_datapac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbanjost","download_url":"https://codeload.github.com/urbanjost/M_datapac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_datapac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28792640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fortran","fortran-package-manager","probability-distribution","random","random-number-generator","rng","statistics"],"created_at":"2024-11-08T03:48:04.825Z","updated_at":"2026-01-27T00:06:38.321Z","avatar_url":"https://github.com/urbanjost.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Name\n   M_datapac(3f) - an fpm module derived from the NIST DATAPAC package\n   (LICENSE: CC0-1.0)\n## Synopsis\n```text\n   use M_datapac, only : \n    \u0026 autoco,  betran,  bincdf,  binppf,  binran,  caucdf,  caupdf,  cauplt,  \u0026\n    \u0026 cauppf,  cauran,  causf,   chscdf,  chsplt,  chsppf,  chsran,  code,    \u0026\n    \u0026 copy,    corr,    count,   decomp,  define,  delete,  demod,   dexcdf,  \u0026\n    \u0026 dexpdf,  dexplt,  dexppf,  dexran,  dexsf,   discr2,  discr3,  discre,  \u0026\n    \u0026 dot,     ev1cdf,  ev1plt,  ev1ppf,  ev1ran,  ev2cdf,  ev2plt,  ev2ppf,  \u0026\n    \u0026 ev2ran,  expcdf,  exppdf,  expplt,  expppf,  expran,  expsf,   extrem,  \u0026\n    \u0026 fcdf,    fourie,  fran,    freq,    gamcdf,  gamplt,  gamppf,  gamran,  \u0026\n    \u0026 geocdf,  geoplt,  geoppf,  georan,  hfncdf,  hfnplt,  hfnppf,  hfnran,  \u0026\n    \u0026 hist,    invxwx,  label,   lamcdf,  lampdf,  lamplt,  lamppf,  lamran,  \u0026\n    \u0026 lamsf,   lgncdf,  lgnplt,  lgnppf,  lgnran,  loc,     logcdf,  logpdf,  \u0026\n    \u0026 logplt,  logppf,  logran,  logsf,   max,     mean,    median,  midm,    \u0026\n    \u0026 midr,    min,     move,    nbcdf,   nbppf,   nbran,   norcdf,  norout,  \u0026\n    \u0026 norpdf,  norplt,  norppf,  norran,  norsf,   parcdf,  parplt,  parppf,  \u0026\n    \u0026 parran,  plot,    plot10,  plot6,   plot7,   plot8,   plot9,   plotc,   \u0026\n    \u0026 plotco,  plotct,  plots,   plotsc,  plotsp,  plotst,  plott,   plotu,   \u0026\n    \u0026 plotx,   plotxt,  plotxx,  pltsct,  pltxxt,  poicdf,  poiplt,  poippf,  \u0026\n    \u0026 poiran,  propor,  range,   rank,    ranper,  relsd,   replac,  retain,  \u0026\n    \u0026 runs,    sampp,   scale,   sd,      sort,    sortc,   sortp,   spcorr,  \u0026\n    \u0026 stmom3,  stmom4,  subse1,  subse2,  subset,  tail,    tcdf,    time,    \u0026\n    \u0026 tol,     tplt,    tppf,    tran,    trim,    unicdf,  unimed,  unipdf,  \u0026\n    \u0026 uniplt,  unippf,  uniran,  unisf,   var,     weib,    weicdf,  weiplt,  \u0026\n    \u0026 weippf,  weiran,  wind\n```\n## Description\n\nA modernized version of DATAPAC including man-pages and HTML documentation as\na stand-alone library independent of Dataplot available as an fpm(1) package.\n\nThe M_datapac Fortran module contains a variety of \n[statistical procedures](https://urbanjost.github.io/M_datapac/man3.html) as well as\na number of general utilities useful in statistical analysis.\n\nThe original DATAPAC library was written by James Filliben of the Statistical\nEngineering Division,\n[National Institute of Standards and Technology](https://www.nist.gov/).\nAfter these routines were incorporated into the [Dataplot](\nhttps://www.nist.gov/statistical-engineering-division/dataplot)\nprogram, development of DATAPAC stopped. However, there are many routines\nthat are useful external to Dataplot. In particular, there are\na number of routines for computing various probability functions.\n\nTherefore, DATAPAC is presented here on an \"as-is\" bais apart from\nDataplot as a separate make(1) and fpm(1) package for use in other\napplications.\n\nThis software is not formally supported and is not being further developed\nother than to develop a test suite at this time, but has been updated to\nuse more modern syntax and structure as the original source is written in\nFortran 77.\n\nThere initially was no formal documentation apart from most of the\nsubroutines contain extensive usage instructions in the comments in\nthe source code. This documentation was modified so man-pages and HTML\ndocuments are also generated based on this information.\n\nThe initial conversion from Fortran 77 was done with\n[spag](https://polyhedron.com/?product=plusfort) from plusfort.\n\n## Needs\n\nLooking for unit tests and example programs that use DATAPAC, and to\nreformat the comments to man-page format.\n## Building the Module Using make(1) ![gmake](docs/images/gnu.gif)\n     git clone https://github.com/urbanjost/M_datapac.git\n     cd M_datapac/src\n     # change Makefile if not using one of the listed compilers\n\n     # for gfortran\n     make clean\n     make F90=gfortran gfortran\n\n     # for ifort\n     make clean\n     make F90=ifort ifort\n\n     # for nvfortran\n     make clean\n     make F90=nvfortran nvfortran\n\nThis will compile the Fortran module and basic example\nprograms that exercise the routine and place the resulting\nfiles in the src/lib/ directory.\n\n## Build and Test with FPM ![-](docs/images/fpm_logo.gif)\n\n   Alternatively, download the github repository and build it with\n   fpm ( as described at [Fortran Package Manager](https://github.com/fortran-lang/fpm) )\n\n```bash\n        git clone https://github.com/urbanjost/M_datapac.git\n        cd M_datapac\n\tfpm build\n```\n   Tests and examples are under construction as well\n```bash\n        fpm run \"*\"\n        fpm run --example \"*\"\n        fpm test\n```\n   or just list it as a dependency in your fpm.toml project file.\n\n```toml\n        [dependencies]\n        M_datapac        = { git = \"https://github.com/urbanjost/M_datapac.git\" }\n```\n## Documentation   ![docs](docs/images/docs.gif)\n\n### User\n   - a simple index to the man-pages in HTML form for the\n   [routines](https://urbanjost.github.io/M_datapac/man3.html)\n   and [programs](https://urbanjost.github.io/M_datapac/man1.html)\n\n   - A single page that uses javascript to combine all the HTML\n     descriptions of the man-pages is in\n     [BOOK_M_datapac](https://urbanjost.github.io/M_datapac/BOOK_M_datapac.html).\n\n   - ![man-pages](docs/images/manpages.gif)\n     There are man-pages in the repository download in the docs/ directory\n     that may be installed on ULS (Unix-Like Systems)\n      + [manpages.zip](https://urbanjost.github.io/M_datapac/manpages.zip)\n      + [manpages.tgz](https://urbanjost.github.io/M_datapac/manpages.tgz)\n\n   - [CHANGELOG](docs/CHANGELOG.md) provides a history of significant changes\n\n### Developer\n   - [ford(1) output](https://urbanjost.github.io/M_datapac/fpm-ford/index.html).\n   - [doxygen(1) output](https://urbanjost.github.io/M_datapac/doxygen_out/html/index.html).\n   - [github action status](docs/STATUS.md)\n---\n### License\n   CC0-1.0\n\n## References\n   * [datapac](https://www.nist.gov/itl/sed/datapac)\n   * [dataplot](https://github.com/usnistgov/dataplot)\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanjost%2Fm_datapac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbanjost%2Fm_datapac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanjost%2Fm_datapac/lists"}