Open Johnme24 opened 8 months ago
1) If I understand correctly, you should be able to generate the ensemble of Ecopath models following the standard ecopathmodel workflow (see html/ecopathmodel_overview.html in this repo for an example). Whether iteratively widening the uncertainties (by increasing the pedigree values associated with each) will give you the sensitivities you're looking for will be highly dependent on your specific ecosystem data, and how much wiggle room each parameter has before meeting other constraints that affect the overall mass balance.
2) I'm not sure I understand this question. In the current code, the value+pedigree combo is translated into either a uniform, lognormal, or triangular distribution of parameters based on the 'pdfname' input chosen via the |createensemble| method. The actual distribution of balanced parameters will be unique to your particular dataset. Once you have an ensemble, you can calculate uncertainty statistics (e.g. standard deviation, percentile ranges, etc.) across those parameters, or any downstream calculations (like network indices). Is that what you're looking for? You could also look at patterns within the resulting ensemble (e.g., PB of critter A vs a network index); in that case it would likely make sense to run targeted sensitivity studies where you only applied pedigree values to one or two parameters at a time.
It looks like the EwE team decided to move from one opaque, proprietary, driver-dependent data format to… another equally opaque, proprietary, driver-dependent data format. Ugh. It’s very difficult to support these Microsoft-specific database formats across operating systems (especially since I use Mac and *nix systems myself).
I’ll see if I can find a way to read this newer format. In the meantime, you may need to manually export to a different format (see the Rpath .csv format suggestion, for example) and import it from there.
On Thu, Mar 14, 2024 at 8:04 AM Johnme24 @.***> wrote:
Thanks very much. It looks like I understand more than I did before. When I put my EwE file into practise, I found that the function mdb2ecopathmodel was only designed to work with a .ewemdb (or .EwEmdb) file extension. However, the new released EwE 6.6.8 software can not save the model as .ewemdb file but only as .eweaccdb file, which can not be imported by the mdb2ecopathmodel function. Also, when I install EwE 6.5, it does not work as well, and replies: EwE6.5.jpg (view on web) https://github.com/kakearney/ecopath_matlab-pkg/assets/41097226/cc65b94e-6188-4bcb-89a9-13ba2e7903d1 Would you please help me to solve the issue, much thanks again
— Reply to this email directly, view it on GitHub https://github.com/kakearney/ecopath_matlab-pkg/issues/5#issuecomment-1997290898, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGIMNAXZ5VXSQD4AOC2CODYYGG45AVCNFSM6AAAAABETP4RNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGI4TAOBZHA . You are receiving this because you commented.Message ID: @.***>
Thanks, I solve this problem when I use EwE 6.3(32bit). Now a new issue arises. I don't understand why the function 'createensemble' did not work suddenly. It replies error even I use the Tampa bay case in Example file, as: ![Uploading Error.jpg…]()
I've just added a new eiixml2ecopathmodel function; this will read model data from the alternative xml export format provided in Ew6.6. Going forward (assuming the EwE team maintains support for this export option), this will be the preferred method for passing data from EwE6.6+ to ecopath_matlab.
As far as your more recent error, your image did not upload. Please copy and paste the entire error message, as well as the code you ran that produced it.
I've just added a new eiixml2ecopathmodel function; this will read model data from the alternative xml export format provided in Ew6.6. Going forward (assuming the EwE team maintains support for this export option), this will be the preferred method for passing data from EwE6.6+ to ecopath_matlab.
As far as your more recent error, your image did not upload. Please copy and paste the entire error message, as well as the code you ran that produced it. The error occurred in the ecopathmodel_overview scrpt, as:
I can't reproduce that error.
It seems to indicate that something is going wrong with a call to validateattributes within ConsoleProgressBar.m. Can you double check that you don't have anything shadowing Matlab's built-in validateattributes or mfilename functions?
Also, can you please clarify which version of Matlab you are running?
You can get that info by running the following commands in the Command Window:
ver
which validateattributes -all
which mfilename -all
I get confused about utilizing a Monte Carlo simulation method by conducting "Ecopath_matlab" . I want examine the robustness of the indicators against parameters (B, P/B,Q/B,and EE) uncertainty and each parameter was simulated with a sequentially increasing lognormal uncertainty for corresponding parameters from 0% to 100% at intervals of 10%. The idea was derived paper I read recently, as: Evaluating the impacts of El Niño events on a marine bay ecosystem based on selected ecological network indicators (https://www.sciencedirect.com/science/article/abs/pii/S0048969720377366). Would you show some suggestions on : 1)how to excute the process above; 2)how to quantify the uncertainty level of the parameters sampled, particularly with respect to their pedigree? Much thanks!