weaver.processes.builtin.utils ============================== .. py:module:: weaver.processes.builtin.utils Module Contents --------------- .. py:function:: is_netcdf_url(url: Any) -> bool Validates that the reference is a remote NetCDF file reference. .. py:function:: is_geojson_url(url: Any) -> bool Validates that the reference is a remote GeoJSON file reference. .. py:function:: validate_reference(url: str, is_file: bool) -> None Ensures that the provided reference points to a valid remote file or a temporary intermediate file. In order to avoid bypassing security validation of server file access between jobs, remote locations must be enforced. However, :term:`CWL` temporary files must be allowed through for intermediate locations passed around between :term:`Workflow` steps or employed as temporary writing locations for file extraction purposes. .. py:function:: get_package_details(file: os.PathLike[str]) -> Tuple[str, str, str] Obtains the ``builtin`` process details from its file reference.