dipetkov / eems

Estimating Effective Migration Surfaces
GNU General Public License v2.0
102 stars 28 forks source link

Complex habitats #11

Open rebzzy opened 7 years ago

rebzzy commented 7 years ago

Hi -

I'm running EEMS using a species has a long, narrow distribution. We get different results when we use a habitat that approximately follows the coastline (complex) compared to one where we smooth the habitat perimeter (simple). It appears that one inlet in the complex habitat is causing different inferences of effective migration rate. This holds true across a number of different grid sizes. I'm wondering why this is and if you could provide any further insight.

Here's the simple habitat: combined850-mrates01

Here's the complex habitat: combined750-mrates01

BridgeOg commented 3 years ago

Hello @rebzzy , my comment is not related to your question please because I'm completely new to using eems. I would like your suggestions on running the eems package. I have been trying to install the runeems_snps for four days now on Mac OS, following the installation manual on “EEMS-doc.pdf”, but the compilation failed with some of the errors listed below. I also tried to run the analysis via the “eems_pipeline_new.ipynb on windows 10, but had errors at the 4th set of command; params = Parameters.create_from_dict(p,defaults=True); Error;

AttributeError Traceback (most recent call last)

in ----> 1 params = Parameters.create_from_dict(p,defaults=True) ~\Documents\all_results\results\eems-master\pipeline\utils\parameters.py in create_from_dict(d, defaults) 41 params = Parameters(**d) 42 if defaults: ---> 43 defaults = Parameters.parser.parse_args("") 44 for k, v in defaults.iteritems(): 45 if not hasattr(params, k): AttributeError: type object 'Parameters' has no attribute 'parser From your post, you were able to run the program successfully. So, I would like your suggestions on what I could do (that is probably not stated in the manual) to run the program successfully or any other suggestions for resolving the errors. Errors: In file included from /usr/local/include/boost/math/policies/policy.hpp:11: /usr/local/include/boost/math/tools/mp.hpp:53:27: error: a space is required between consecutive right angle brackets (use '> >') struct mp_size_impl> /usr/local/include/boost/math/tools/mp.hpp:255:65: error: expected expression using type = typename mp_if, mp_identity>, mp_fin... /usr/local/include/boost/math/tools/mp.hpp:255:109: error: expected a type ...mp_identity>, mp_find_if_impl_2, P>>::type; /usr/local/include/boost/math/tools/mp.hpp:389:83: error: a space is required between consecutive right angle brackets (use '> >') ...I...>, integer_sequence> /usr/local/include/boost/math/tools/mp.hpp:403:23: error: expected ';' at end of declaration list static constexpr T M = N / 2; /usr/local/include/boost/math/tools/mp.hpp:404:12: error: unknown type name 'constexpr' static constexpr T R = N % 2; /usr/local/include/boost/math/tools/mp.hpp:407:64: error: expected ';' after alias declaration using seq2 = typename append_integer_sequence::type; /usr/local/include/boost/math/tools/mp.hpp:408:61: error: expected ';' after alias declaration using seq3 = typename make_integer_sequence_impl::type; fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [runeems_snps.o] Error 1 Thank you.