Comments (2)
Sorry for the delayed reply, and thanks for sending this my way! I'll dig into it today, and hopefully have a fix up in the next few hours.
from rfia.
I've found the issue, and just pushed up a fix.
The problem is that the list of EVALIDs ee
pertains only to Alabama, i.e., none of those listed are affiliated with the Georgia inventory. When we're working with an in-memory database, this is fine, as we're simply asking clipFIA to drop all Georgia inventories and retain the selected Alabama inventories. However, rFIA's out-of-memory methods will read in states one at a time, evaluate the call to clipFIA, and then proceed with estimation. So when Georgia gets read in, we're asking it to drop all of it's inventories, leaving us with no data and hence resulting in a less than informative error message.
For in-memory databases, I don't mind the current behavior (i.e., the ability to drop selected states entirely should you choose to). Thus I've have only added a warning for these cases - the message will simply tell you what states are missing from the list of EVALIDs.
For remote databases however, I don't see much benefit to allowing states to be dropped by clipFIA, as this could be accomplished more efficiently via the states argument with readFIA. Hence, an error will be thrown in these cases. The message will tell you what states are missing, and to either add EVALIDs for the missing states or drop these states from the call to readFIA.
Could you re-install from GitHub and confirm that behavior on your end? I'm open to suggestions on clipFIA's behavior here too. If consistency between in-memory and out-of-memory approaches is more desirable, we can certainly go that route.
from rfia.
Related Issues (20)
- mergeSmallStrata(): 'buf' not 'buff' to id intensified PNW strata HOT 1
- readFIA issues HOT 2
- Issue with getFIA - url connects to 404 page HOT 6
- Difficulty using huc watersheds as polygons HOT 2
- Summarizing by subplot gives wrong values
- rFIA::tpa() removes trees with no measured DIA
- FIA databases appear to be inaccessible HOT 2
- Error in `dplyr::select()`: Column `geom` doesn't exist. HOT 1
- 'EVALID' not found error using 'readFIA' from file & using 'getFIA' for multiple states HOT 7
- df issue in udTreeDomain() within biomass()
- getFIA URL error HOT 2
- growMort bySizeClass missing removed stems
- Failure with dev dtplyr
- fa_mean doesn't exist HOT 5
- 'invasive' function not finding INVASIVE_SUBPLOT_SPP table HOT 1
- Newest version of R not compatible
- seemingly strange behavior from customPSE()
- 'DRYBIO_WDLD_SPP' and Column `CARBON_STANDING_DEAD` not found HOT 4
- Error when downloading tables for several states HOT 3
- growMort function won't run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfia.