Metadata-Version: 2.1
Name: hipims_io
Version: 0.2.8.6
Summary: To process input and output files of the HiPIMS model
Home-page: https://github.com/xiaxilin/hipims/tree/master/hipims_io
Author: Xiaodong Ming
Author-email: xiaodong.ming@ncl.ac.uk
License: LICENSE.txt
Description: hipims_io
        --------
        Python code to process input and output files of [HiPIMS flood model](https://github.com/xiaxilin/hipims). This code follows [Google Python Style Guide](http://google.github.io/styleguide/pyguide.html).
        
        Python version: >=3.6.
        
        To install hipims_io:
        ```
        pip install hipims_io
        ```
        A quick demonstration to setup a HiPIMS input object with a sample DEM:
        ```
        >>> import hipims_io as hp
        >>> obj_in = hp.demo_input() # create an input object and show
        ```
        An example of step-by-step setup a HiPIMS input object with more detailed information from sample data:
        
        ```
        >>> import os
        >>> import hipims_io as hp
        >>> case_folder = os.getcwd() # use the current path as a case folder
        >>> obj_dem, model_data = hp.get_sample_data() # get sample data
        >>> obj_in = InputHipims(dem_data=obj_dem, num_of_sections=1, case_folder=case_folder)
        # set a initial water depth of 0.5 m
        >>> obj_in.set_parameter('h0', 0.5)
        # set boundary condition
        >>> bound_list = demo_data['boundary_condition'] # with boundary information
        >>> obj_in.set_boundary_condition(bound_list, outline_boundary='fall')
        # set rainfall mask and source
        >>> rain_source = demo_data['rain_source']
        >>> obj_in.set_rainfall(rain_mask=0, rain_source=rain_source)
        # set monitor positions
        >>> gauges_pos = demo_data['gauges_pos']
        >>> obj_in.set_gauges_position(gauges_pos) 
        # display model information
        >>> obj_in.domain_show() # show domain map
        >>> print(obj_in) # print model summary
        # write all input files for HiPIMS
        >>> obj_in.write_input_files() 
        ```
Keywords: hipims model IO
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
