CFM Software Archives

From SCECpedia
Jump to navigationJump to search

Deprecated Pages from CFM Website Development

Example CFM Dataset and Map Display

This is a link to a 6MB Quicktime Animation that shows a User using the current CFM Discovery and distribution Map Display

Fig 1: Initial Version of CFM Website showing details of selected fault.

Current CFM Discovery and Distribution Software Git Repo

Tsurf to obj awk script

 /projects/cfma/export/ts2obj/scripts $ more ts2obj.awk
 $1~"VRTX" {print "v",$3,$5,-$4}
 $1~"TRGL" {print "f",$2,$3,$4}

Run this program like this:

  • By making it an executable with a shebang directive: #!/usr/bin/gawk

Or as a program file to awk:

  • $awk -f ts2obj.awk < in.ts > out.obj or
  • awk -f test2obj.awk test.ts > test.obj

Information about the spreadsheet file

  • Need Identification of meaning of selected columns

Contents of CFM spreadsheet file

We are deciding how to correct various identified issues with speadsheet data including:

  • The shape file has duplicate entries from a same fault dataset.
  • The spreadsheet contents to review include:
  • "SALT-CPFZ-CRPR-Cierro_Prieto_fault-CFM1-trace" was included into the shapefiles two times,
  • xlsx has duplicate abbreviation for different regions,
    • San Cayetano fault zone,SCFZ
    • San Clemente fault zone,SCFZ
    • South Cuyama-Ozena fault zone,SCFZ
  • Possible typos,
    • Cross Faults,CRSF
    • Cross faults,CRSF
    • Western Big Pine,WEST
    • Western splay - north,WEST
    • Western splay,WEST
    • Western,WEST
    • Brawley Seismic Zone,BSZ
    • Brawley Seismic Zone,BSZS

Geometry File Converter Information

  • Testing shows that Tsurf is mesh data but no vanilla mesh viewer takes it straight. More common format is OBJ.
  • The CFM group has many converters and one of them is Tsurf to OBJ. Several 3d mesh viewer code that takes OBJ.
  • Evaluate a prototype using x3dom.js.

Technology Evaluations - Map Viewer Links

Earlier CFM Viewer Developments

During early CFM workshops to get community feedback, the group were working with the UCSD group to visualize the CFM in 3D with Fledermaus. Fledermaus has a free 3D viewer - which used to be iView3D but is now iView4D, with Win-32, Win-64, MacOSX, & Linux versions of iView4D available, and like other approaches, the data need to be reformatted for this app.

This software was adopted by the USGS for 3D visualization:

Workshops on its use as of 2012:

In terms of the CFM webpage, we are discussing if there is still a need to provide additional 3D visualization resources for the CFM and other CXM products. If so, a iView4D plus MoVE Viewer may be a useful combination.