Skip to content
Snippets Groups Projects
  1. Nov 29, 2024
  2. Nov 22, 2024
  3. Dec 01, 2023
  4. Dec 01, 2022
  5. Dec 03, 2021
  6. Jun 04, 2021
  7. Mar 31, 2021
  8. Mar 01, 2021
  9. Nov 24, 2020
  10. Nov 23, 2020
  11. Aug 06, 2019
    • Yoann Audouin's avatar
      [Feature #559][VnV][Python3] Replacing xml files by Python files · cd582b05
      Yoann Audouin authored
      validation is done by validate_telemac2.py
      --clean now only does the cleaning part
      ranks and tags are handled as before but the rule for rank has changed:
      --rank=2 will run all the study with a rank of <=2
      The rank are now an integer between 0 and 4.
      
      All the post-treatment are done using the new postel module.
      
      Documentation is in the developer guide (Chapter Validation).
      
      Removing all xml (except in examples/python27)
      
      Also contains some modifications on postel.
      cd582b05
  12. Jul 03, 2019
  13. May 10, 2019
    • Yoann Audouin's avatar
      [Python3] New structure/scripts for post-treatment · 7216ec1f
      Yoann Audouin authored
      This contains the work done during the coding week on Post-treatment.
      All the new scripts are documented via notebooks.
      The notebooks can be found in <root>/notebooks/
      To run the notebook you need jupyter () and run
      jupyter notebook <root>/notebooks/index.ipynb
      
      Here is a quick list of the features developped during this week
      - Data manipulation
        - How to convert files to different formats
        - Data extraction from 3d:
          - Example of extraction of result on a plane
          - Example of extraction of result on a horizontal slice
          - Example of vertical extraction along a polyline
          - Example of  extraction on vertical segment over time
        - Read/write from/to a csv file
        - Extract data from a Telemac File
        - Interpolation on a regular grid and comparaison of two meshes over that grid
        - Extract information from the Telemac listing
          - Example of extraction of iterations, volume error, volume... from a listing
        - Extract data from a shape file
        - How to compute data from the extractions
          - How to compute the wet area over a polygonal chain
          - How to compute the flow rate through a polygonal chain
          - How to compute the solid discharge through a polygonal chain
          - How to compute the flux of a scalar through polygonal chain
          - How to compute volume information from a telemac file
        - How to do statitics on your data with pandas
      - Post-treatement
        - How to do 1d plots
          - Plot a field evolution at several nodes
          - Plot a field evolution at several points (and not mesh nodes)
          - Extract water depth evolution along a polyline and plot one time frame
          - Extract velocity U along a vertical line and plot one time frame
        - How to do 2d plots
          - Plot the 2d mesh and find point location
          - Plot scalar map
          - Plot scalar map and contours
          - Plot filled contours
          - Plot scalar map and  velocity streamlines
          - Plot colored velocity streamlines
          - Plot scalar map with velocity vectors on triangular mesh
          - Plot scalar map with velocity vectors on subgrid
          - Plot colored velocity vectors
          - Plot velocity vectors without normalization
          - Plot scalar map on regular grid
          - Plot a 2D quadrangle mesh
        - How to do advanced 2d plots
          - Plot 2d scalar map with masked dry zones
          - Plot scalar map and streamlines with mesh overlay only in dryzones
          - Plot scalar map on triangulation and vectors on grid with mesh overlay only in dryzones
        - How to add background image to 2d plots
          - Change the mesh coordonate system and plot background image
          - Automatically extract image from WMS flux with owslib
        - How to work with maps with follium
          - Locate the computational domain on a map
        - How to set matplotlib style
          - This is an example of how to set a user defined plot decoration
        - How to do 3d plots
          - 3d plot of a mesh using data as z coordinates
        - How to plot tomawac spectrum files
          - Plotting a Tomawac spectrum
        - How to post-treat mascaret files
          - Geometry file
          - Opthyca result file
          - Temporal profile
          - Longitudinal profile
          - Creation of .lig file (LIDOP format)
          - Creation of opthyca file (OPTHYCA format)
      7216ec1f
Loading