Field Science issueshttps://code.cs.earlham.edu/groups/field-science/-/issues2019-06-17T13:21:24-04:00https://code.cs.earlham.edu/field-science/FieldDay/-/issues/20Clean the tables separately2019-06-17T13:21:24-04:00Craig EarleyClean the tables separatelyChanging it such as having the option to clean the readings table or the streaming table, rather than everything.Changing it such as having the option to clean the readings table or the streaming table, rather than everything.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/32Bring API usages in line with the requirements of Android 10 (SDK 29)2019-09-13T12:07:45-04:00Craig EarleyBring API usages in line with the requirements of Android 10 (SDK 29)Android Q (or 10 or 29 depending on your context) is here, and I want us to keep up rather than catch up.
Several API usage models are going away, and I think it's causing buggy-looking behavior on my Samsung device (though not yet on a...Android Q (or 10 or 29 depending on your context) is here, and I want us to keep up rather than catch up.
Several API usage models are going away, and I think it's causing buggy-looking behavior on my Samsung device (though not yet on a Nexus tablet). When I run a Lint report:
```
* 'getExternalStorageDirectory()' is deprecated
* 'insertImage(android.content.ContentResolver, java.lang.String, java.lang.String, java.lang.String)' is deprecated
* 'getBitmap(android.content.ContentResolver, android.net.Uri)' is deprecated
```
This matches some GIYF investigations on the same topic. Android 10 appears to be taking additional steps to secure user privacy, and one consequence is that we're going to have to fix the way we handle media and external storage.
I'll iterate on this over the next few weeks.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/24Bench sample does not "see" spots created on the local device2019-06-16T13:30:23-04:00Craig EarleyBench sample does not "see" spots created on the local deviceBench sample does not "see" spots created on the local device (test with combination of new spot through internal sensors and then bench). Bench sample does not "see" spots created on the local device (test with combination of new spot through internal sensors and then bench). https://code.cs.earlham.edu/field-science/FieldDay/-/issues/22Automatically add a row in fieldday_spot when not present2019-06-16T13:30:23-04:00Craig EarleyAutomatically add a row in fieldday_spot when not presentCurrently, upload of fieldday readings might fail when a spot is not present in fieldday_spot. In such case, catch the error, insert a row in fieldday_spot, and continue uploading. Currently, upload of fieldday readings might fail when a spot is not present in fieldday_spot. In such case, catch the error, insert a row in fieldday_spot, and continue uploading. https://code.cs.earlham.edu/field-science/FieldDay/-/issues/2App dies if user denies turning on bluetooth2019-06-16T13:30:23-04:00Craig EarleyApp dies if user denies turning on bluetoothIf bluetooth is disabled, Field Day asks the user to allow turning on bluetooth under 'Take a Sample' -> 'Bluetooth Sensors'. If the user says 'deny' then the app crashes. If bluetooth is disabled, Field Day asks the user to allow turning on bluetooth under 'Take a Sample' -> 'Bluetooth Sensors'. If the user says 'deny' then the app crashes. Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/15App, database, and viz support for streams having site and sectors2019-06-16T13:30:23-04:00Craig EarleyApp, database, and viz support for streams having site and sectorsThe current mechanism of streams only having a trip_id is awful, change the whole stack so that streams are required to have a trip, site, and sector ala spots. Makes lots of things easier. The current mechanism of streams only having a trip_id is awful, change the whole stack so that streams are required to have a trip, site, and sector ala spots. Makes lots of things easier. Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/31App crashes if you try to stream without selecting a sector2019-08-23T11:09:39-04:00Craig EarleyApp crashes if you try to stream without selecting a sectorIf you tap "STREAM" (using either internal sensors or Bluetooth platforms) without selecting a sector, Field Day crashes. (The expected behavior is that it does not crash...)
There are at least two possible solutions:
* Pre-populate the...If you tap "STREAM" (using either internal sensors or Bluetooth platforms) without selecting a sector, Field Day crashes. (The expected behavior is that it does not crash...)
There are at least two possible solutions:
* Pre-populate the site and sector fields with default values. This already appears to happen for the site field, although it does not follow up by populating the sector dropdown with a list of sectors associated with that site.
* On user tap of "STREAM", check for empty values in site and sector. Display a message prompting the user to select a value for each empty field. This adds friction but gives the user more transparent control. Similar logic exists already for "SAMPLE", which displays a message prompting the user to enter a spot number before taking a reading, if they have not already done so.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/27Add prompt for location permissions2019-08-01T14:22:50-04:00Craig EarleyAdd prompt for location permissionsAfter fixing some errors and warnings, BlueTooth device detection doesn't work if Field Day lacks location permissions. Add a prompt telling the user to enable Field Day to use the device's location (or possibly whatever object Android u...After fixing some errors and warnings, BlueTooth device detection doesn't work if Field Day lacks location permissions. Add a prompt telling the user to enable Field Day to use the device's location (or possibly whatever object Android uses to request permission from the user directly).Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/images/-/issues/2Add project logo :)2021-07-05T11:27:38-04:00Craig EarleyAdd project logo :)https://code.cs.earlham.edu/field-science/images/-/issues/1Add or verify the presence of the image scripts2019-12-01T09:08:37-05:00Craig EarleyAdd or verify the presence of the image scriptsWe have existing scripts that should be added here. Some of them are listed below and some may already be there.
As a starting point, here are some tools we may want to get or build for visible light:
- PCA
- Histogram balancing
- Contr...We have existing scripts that should be added here. Some of them are listed below and some may already be there.
As a starting point, here are some tools we may want to get or build for visible light:
- PCA
- Histogram balancing
- Contrast enhancement
- [more] - see Parcak’s book
- Data storage and location
- NDVI
- GUI and non-GUI things (cf. Dan)https://code.cs.earlham.edu/field-science/datavis/-/issues/11Add information tables for readings2020-02-20T11:52:39-05:00Craig EarleyAdd information tables for readings(Streams could have this eventually but it would be more data than may be useful.)(Streams could have this eventually but it would be more data than may be useful.)https://code.cs.earlham.edu/field-science/FieldDay/-/issues/25Add an upload table2019-06-16T13:30:23-04:00Craig EarleyAdd an upload tableWe don't record when we do an upload. We should have a table whose schema might resemble the following:
- uploadId, monotonically increasing integer key
- startTime, datetime
- endTime (initialize to null, set to a datetime on complet...We don't record when we do an upload. We should have a table whose schema might resemble the following:
- uploadId, monotonically increasing integer key
- startTime, datetime
- endTime (initialize to null, set to a datetime on complete transaction)
- rowsUploaded, integer
We should update the table during each upload.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/3Ability to collect platform/sensor data when app is not foreground/visible2019-06-16T13:30:23-04:00Craig EarleyAbility to collect platform/sensor data when app is not foreground/visibleAbility to collect platform/sensor data when app is not foreground/visible.Ability to collect platform/sensor data when app is not foreground/visible.