To start us off:
R scripts to process traj_files (in ASCII format)
These are not beautified and ready to go, but should be readily harvestable, for use as a start point if you want to do something similar…
Subsetting to a polygon source.
R_step1_trajfile_subset2DarwinOnly.R – I used this to consolidate from a lot of trajectory ascii files, all those particles that launched from a particular place (called the Darwin Mounds, release polygon 4) then output that subset into a csv.
Converting the subset traj_file (now in csv format) into line shapefiles.
R_step2_DarwinOnlyTraj_to_line.R – the csv from the last file (which is a subset of the traj_file) was then processed to produce trajectory line shapefiles for input into a GIS software.
All the best,
Bex
--
You received this message because you are subscribed to the Google Groups "connectivity-modeling-system-club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
connectivity-modeling-...@googlegroups.com.
To post to this group, send email to
connectivity-mod...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Duplicated from thread “Interpreting results from CMS”
Grouping connectivity matrix into larger regions
Here is a link to Sally’s original post… https://groups.google.com/d/msg/connectivity-modeling-system-club/OJZqroDfqjA/xGw3GUBrBQAJ
“Hi,
in case anyone else is interested, I have attached a script which takes the raw connectivity matrix and groups individual cells into larger, user-defined regions (such as individual reefs or management areas). Say your original matrix is n x n, and you have m number of 'sum regions', you input a file (excel or text) listing all the settlement cells (n, column 1) and which sum region (m, column 2) they belong to. The resulting matrix is an m x m matrix with the values for all cells n in each region m summed.
I have simplified the script to make it as generic as possible.
Dianne, I hope that is what you meant. Let me know if not, I have a range of other Matlab scripts for manipulating and analysing the output of CMS in different ways.
Sally”
This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other
use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take
every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its
attachments constitutes an order for goods or services unless accompanied by an official order form.
--
You received this message because you are subscribed to the Google Groups "connectivity-modeling-system-club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
connectivity-modeling-...@googlegroups.com.
To post to this group, send email to
connectivity-mod...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mar 26, 2018, at 2:57 PM, Gilbert Nightray <gilbni...@gmail.com> wrote:Excuse me... all the information of the poligons, mortality and vertical migration are in the output file of trajectories??