Coder Social home page Coder Social logo

deepsoil-compile's Introduction

Deepsoil-Compile

This contains Python scripts for compiling and consolidating (for randomized profiles) the batch_output structure of DEEPSOIL.

Organization of files upon running (sample provided in sample folder):

 |-- Deepsoil_Compile.exe
 |-- data/
    |-- input_files/
        |-- profile_1
           |-- Motion_01 [component] ([damping]%)
              |-- deepsoilout.db3
           |-- Motion_01 [component] ([damping]%)
           ...
        |-- profile_2
           |-- Motion_02 [component] ([damping]%)
           |-- Motion_02 [component] ([damping]%)
        ...
    |-- output_files/ --> (program output, folder created if not found)

Matching-Assessment

This contains Python scripts for calculating the SA_RotDnn for a suite comprising of ASC (near-field) and/or SZ (far-field) ground motion time-histories, in accordance with ASCE 7-16 Sec. 16.2.3.

Bug fixes, addition of UI, and other improvements are ongoing but this shall work given the following:

  1. ASC records should have components with (H1, H2) or (FN, FP) in their respective filenames.
  2. SZ records should have components with (SZ1, SZ2) in their respective filenames.

Organization of files upon running (sample provided in sample folder):

 |-- Matching_Assessment.exe    
 |-- data/
    |-- input_files/
        |-- 01 [Record_1]
           |-- 01 [component].txt
           |-- 01 [component].txt
           ...
        |-- 02 [Record_2]
        ...
        |-- {txt file with name containing "ASC" and/or "SZ", "RotD{percentile} Target", and damping % in parenthesis}
    |-- output_files/ --> (program output, folder created if not found)

deepsoil-compile's People

Contributors

ftbernales avatar stansays avatar

deepsoil-compile's Issues

Compatibility issue in merging depth dataframes

Traceback (most recent call last):
  File "[USER]\Documents\Projects\Deepsoil-Compile\src\Deepsoil_Compile.py", line 309, in <module>
    main()
  File "[USER]\Documents\Projects\Deepsoil-Compile\src\Deepsoil_Compile.py", line 218, in main
    df_next_strain_comb = pd.merge_asof(df_depths,
  File "[USER]\.conda\envs\deepsoil\lib\site-packages\pandas\core\reshape\merge.py", line 581, in merge_asof
    op = _AsOfMerge(
  File "[USER]\.conda\envs\deepsoil\lib\site-packages\pandas\core\reshape\merge.py", line 1744, in __init__
    _OrderedMerge.__init__(
  File "[USER]\.conda\envs\deepsoil\lib\site-packages\pandas\core\reshape\merge.py", line 1630, in __init__
    _MergeOperation.__init__(
  File "[USER]\.conda\envs\deepsoil\lib\site-packages\pandas\core\reshape\merge.py", line 700, in __init__
    ) = self._get_merge_keys()
  File "[USER]\.conda\envs\deepsoil\lib\site-packages\pandas\core\reshape\merge.py", line 1862, in _get_merge_keys
    raise MergeError(msg)
pandas.errors.MergeError: incompatible merge keys [0] dtype('float64') and dtype('int64'), must be the same type

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.