This directory contains several scripts for the manipulation of general cross section data.
-
Standard Perl 5 can be used for all the Perl scripts, except one.
-
Perl Data Language (PDL) with PGPLOT
Specifically, the
PDL::Graphics::PGPLOT::Window
package is required forCHARIMAview.pl
. -
Awk or (gawk)[https://www.gnu.org/software/gawk]
The scripts to convert between MASS1 and CHARIMA format are in Awk.
These scripts manipulate cross sections in one or more files. Many cross sections can be contained in a file.
These scripts understand the cross section format used by the CHARIMA code. MASS1's format is slightly different. Only the general cross section type is understood (type 50). MASS1's prismatic section types are not handled.
To convert from MASS1 to CHARIMA format:
awk -f section-unfix.awk < mass1_section.txt > charima_section.txt
To convert from CHARIMA to MASS1 format:
awk -f section-fix.awk < charima_section.txt > mass1_section.txt
These utilities are provided as-is. There is little or no documentation (except the code itself). Some are still used often by the authors; others are quite old and in probably in need of maintenance.
CHARIMAarea.pl
CHARIMAextract.pl
CHARIMAfill.pl
CHARIMAinsert.pl
CHARIMAnotch.pl
CHARIMArenum.pl
CHARIMAthalweg.pl
CHARIMAview.pl
HEC2area.pl
HEC2CHARIMA.pl
HECRASCHARIMA.pl
README.md
section-fix.awk
section-unfix.awk
XSection.pm
XSECTprops.pl