Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New diagnostic plot? #16

Open
cddesja opened this issue Jan 28, 2016 · 5 comments
Open

New diagnostic plot? #16

cddesja opened this issue Jan 28, 2016 · 5 comments

Comments

@cddesja
Copy link
Collaborator

cddesja commented Jan 28, 2016

I wanted to suggest a diagnostic plot that would be extremely useful in the calibration phase.
I am not so sure what would be the best way to implement it, but the basic idea is to visualize whether predator distribution (by box and layer) matches its preys (defined in the diet matrix of the biom.prm). I find that trophic interaction is one of the most critical but also tricky bit in Atlantis.
Maybe a way to do it could be to add in the spatial plots a prey-pred overlap, for which by selecting a predator, you can see in which boxes and layers preys are available.
Please let me know what you think.

@cddesja
Copy link
Collaborator Author

cddesja commented Feb 28, 2016

@mcgregorv @erlasturl, do either one of you have any code to do this? I feel like the plots @erlasturl made get at this. This sounds like this this is beyond my capacity (i.e., time) at the moment..

@mcgregorv
Copy link

This sounds like a great idea Chris. I'm looking at predator-prey interactions at the moment, so I might try putting something like this together. Will keep you updated.
Vidette

@erlasturl
Copy link

The spatial plot "within a box distribution" are helpful when looking at this and they may be improved be also including the layers in that plot. I like the idea of being able to look at prey distribution for each predator and I think this would be a good addition but I don't have a code for it at the moment.

@mcgregorv
Copy link

Hey, I’ve put together some code for a summary predator-prey encounter plot. I think this would be a useful place to start, then drill down into layer and time and perhaps age. I added a small change to create_vadt() to have it read in the pPREY from biol.prm and output it and also added fgcodes for the output obj. Then I created create_pred_prey_encounter() which reads in the object created in create_vadt() and adds to it the encounter rates. I just put this separately because it was easier for testing, but it can be added to the main one as an option (it takes quite a long time to run). Then I have vadt_pred_prey() which is a copy of vadt() but with only the predator/prey encounter tab (again I pulled this bit out for testing, and can add it to the main one). I’ve attached the code, try it if you like and if it works I can add it to a branch. I’ve attached a screen shot of the plot too. Vidette

From: Christopher David Desjardins [mailto:[email protected]]
Sent: Monday, 29 February 2016 8:42 a.m.
To: mareframe/vat
Cc: Vidette McGregor
Subject: Re: [vat] New diagnostic plot? (#16)

@mcgregorvhttps://github.com/mcgregorv @erlasturlhttps://github.com/erlasturl, do either one of you have any code to do this? I feel like the plots @erlasturlhttps://github.com/erlasturl made get at this. This sounds like this this is beyond my capacity (i.e., time) at the moment..


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-189931981.

Vidette McGregor
Ecosystem Modeller

+64-4-386-0851 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nzhttp://www.niwa.co.nz
[NIWA]http://www.niwa.co.nz
To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems.

@cddesja
Copy link
Collaborator Author

cddesja commented Mar 5, 2016

Hi Vidette, I don't actually see the attachments. Would you be able to send them again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants