I’ve gone back to the spot I first found the great horned owl now several times, at the same time of the evening, and birded around there in the evening many more times to no avail. I did talk to someone down at the Loon’s Foot Landing ore dock who claims an owl comes around […]
Continue reading..Tracking Down This Great Horned OwlThis is so nuts to me: one of my supervisors introduced me to Google Earth Engine, and we’ve been playing with it for our spatial analyses. It’s imagery/spatial analysis in the cloud, with the tagline “letting scientists focus on science instead of downloading and managing data.” Well, Google, you have my attention. The intro video […]
Continue reading..Google Earth Engine: GIS of the Future!Look at page 44 of the vignette in deSolve for error message handling from lsoda. You need to specify a parms argument, but it can be NULL.
Continue reading..Stack Overflow Digest: deSolve PostsMy latest adventures have revolved around solving ordinary differential equations (ODE’s), for the most part, in R. To do this, I’ve been using the ode() function from the deSolve package. In the next step of what I’m trying to do, though, it seems I need dede() for delayed differential equations. From what I understand, you […]
Continue reading..Using ode() from the deSolve Package in RBackground Welcome to my continued adventures in translating Stella models to R. To catch you up in case you haven’t been following along (i.e. a high probability that this applies to you) I’ve been retooling the StellaR.py script that I found on the internet. The latest version on the linked site is buggy and old, […]
Continue reading..Part 2: Fixing the Stella R Python ScriptA smew was called in 45 min. after the sighting in the Duluth Harbor! No one was able to relocate it, though. 🙁
Continue reading..Smew Reported from Practically My Backyard!To fix along yourself, first download StellaR.py v. 1.3. First, I’ll start with in-place changes so I can reference the original line numbers. Line 321 needs an added test to see if there’s really anything “to” the model, even if the INIT is found: if init_match and len(lines[i-1].strip().split()[6:-2]) > 0: Line 354: I added the […]
Continue reading..Part 1: Fixing the Stella R Python ScriptI was in the process of documenting my changes to the script in an orderly fashion, but I ended up having to “overhaul” it to get it to run properly. It might not be worth a detailed post to document all the changes; it may just have to stand on its own as a new […]
Continue reading..My Stella R Project: Total OverhaulI converted array variables to just regular variables; I replaced the front bracket with an underscore and removed the closing bracket. Does this have any consequence? I still may have some order of operations problems since I took parentheses out unless there are functions to be translated within if statements… Does case not matter for […]
Continue reading..Some Lingering Questions: Stella –> RYou can use the handy 2to3 script included with a Python 3 install, and I sincerely hope that solves all of your problems. If it doesn’t, here are some things to think about… The default open() behavior changes between versions, namely in what it considers a newline. I had something strange happen: the same things […]
Continue reading..Some Extra Considerations: Python 2-3