@welldot/utils

Changelog

0.5.1

Patch Changes

  • 0c76546: The READMEs now link to the documentation site at https://docs.welldot.org.
  • 0332665: The repository moved to the welldothq GitHub organization. The package repository, homepage and bugs URLs now point at https://github.com/welldothq/welldot.
  • Updated dependencies 0c76546
  • Updated dependencies 0332665
  • Updated dependencies 147708f
    • @welldot/core@0.6.0

0.5.0

Minor Changes

  • a74ddd6: Supports the .well v2.4 format revision.
    • Time zone. instantLocalDate(instant, timeZone?) converts an instant to the well's zone. Fulfillment lateness, getPermitTimeline(permit, timeZone?) and the regime-in-force check use it through the new getWellTimeZone(well). getPermitWarnings adds missing_timezone for files whose permits have condition fulfillments but no timezone.
    • logger_series. getOperationWarnings adds analysis_uses_logger_series (an analysis references a logger_series in source_event_ids or static_level_source_id) and logger_reading_below_sensor (a reading deeper than sensor_depth). Both apply to effective (non-retracted) events only.
    • Logger import helpers. Adds parseDelimitedText, buildLoggerReadings (column mapping, water column to depth), localDateTimeToInstant (local time to instant by IANA zone), mergeLoggerReadings, inferLoggerInterval and downsampleLoggerReadings.
    • Daily operating time. Derivations read daily_operating_time above 24 as 24 through the new normalizeDailyOperatingTime.
    • The SIAGAS importer writes "version": "2.4".

    Breaking for consumers that switch on warning codes:
    • PermitWarningCode daily_operating_time_out_of_range is renamed to daily_operating_time_normalized. It now fires only for values above 24 (a negative value is a schema error).
    • PermitWarningCode fulfillment_reference_unresolved is removed. A fulfillment event_id or sample_id may legitimately resolve only in another well's file.
    • OperationWarningCode gains daily_operating_time_normalized (ids: the regime).

Patch Changes

  • Updated dependencies a74ddd6
    • @welldot/core@0.5.0

0.4.0

Minor Changes

  • Add the @welldot/utils/siagas subpath to import wells from SIAGAS.
  • Add pumping-test charts and event view helpers.
  • Support the .well v2.3 blocks: permits, meters, production, water quality and operating regime.
  • Breaking: replace declared_volume with estimated_volume in production entries.
  • Move shared helpers and vocabulary labels into the library.
  • Link multiple events and samples to any history log entry.

0.3.0

Minor Changes

  • Add artesian detection for .well v2.1.

0.2.3

Patch Changes

  • Polish open-source docs, licensing and schema tooling.

0.2.2

Patch Changes

  • Version bump released together with @welldot/core and @welldot/render.

0.2.1

Patch Changes

  • Move formatNumber into the library.

0.2.0

Minor Changes

  • Add hydrodynamic parameter calculations (drawdown, specific capacity) and query utilities.
  • Add calculateHoleFillSegmentVolume for summary tables.

0.1.0

Minor Changes

  • Initial release.