Legacy Trac Support Tickets (non-working links)

Milestone: None (1 match)

Ticket Summary Status Type Priority Milestone Component
#315 Error when adding multi-column flag arrays using addflags.m closed defect major None Core toolbox

Reported by wsheldon, 8 weeks ago.

description

A matrix dimension mismatch error results when adding a multi-column array of flags to a data set column that does not have any flags assigned.

Milestone: GCE Toolbox vaporware (8 matches)

Ticket Summary Status Type Priority Milestone Component
#38 Add workflow/script management to toolbox accepted brainstorming major GCE Toolbox vaporware Core toolbox

Reported by wsheldon, 8 years ago.

description

Workflow scripts must currently be developed and run outside of the GUI data editor. Adding a GUI workflow/script dialog and a database of parameterized scripts (similar to the EEM Calculator in the Fluorescence Toolbox) would significantly aid extension of the toolbox by end-users.

#51 Add utility for defining function arguments for import/export closed enhancement major GCE Toolbox vaporware Core toolbox

Reported by wsheldon, 7 years ago.

description

In order to better support import/export plugins, a specification and tools are needed to define and manage function arguments and prompt for and validate arguments (by type) at runtime.

#68 Add support for LTER Data Portal API to ui_search_data.m accepted enhancement major GCE Toolbox vaporware Core toolbox

Reported by wsheldon, 7 years ago.

description

Adding support for the LTER Data Portal API to ui_search_data.m would enable retrieval of EML-described data using fetch_eml_data.m. This would provide seamless searching for GCE and LTER data and facilitate use of the toolbox for LTER synthesis projects.

#5 Add box/whisker and bar plots closed enhancement minor GCE Toolbox vaporware Core toolbox

Reported by guest, 9 years ago.

description

The current plot types are limited to line/scatter and map types. Box and whisker statistics plots and bar plots would be useful for categorical and other data.

#16 Develop ClimDB web service to task USGS harvester closed brainstorming minor GCE Toolbox vaporware Core toolbox

Reported by wsheldon, 9 years ago.

description

The USGS station harvest list is currently managed independently of ClimDB as a local data file at GCE, but it would simplify adding and removing stations if this list was dynamically retrieved from the ClimDB database via a web service or other query. Some local information will still need to be cached (date of last finalized data, historic discharge maxima), but the list could be synchronized with ClimDB preceding each harvest to add/remove stations.

#19 Add R data load script support closed enhancement minor GCE Toolbox vaporware Core toolbox

Reported by wmsheldon@earthlink.net, 9 years ago.

description

Adding support for generating R scripts to load exported data into a data frame would facilitate advanced statistical analysis. Existing EML2R XSLT sheets developed by TERN and John Porter could be leveraged for this purpose.

#47 Add LoggerNet DB tables as import option closed enhancement minor GCE Toolbox vaporware Core toolbox

Reported by adam.kennedy@oregonstate.edu, 7 years ago.

description

LoggerNet? has the ability to send data directly from the LoggerNet? server to a database. It would be great to develop this LNDB as an import source to the GCE-Toolbox.

#236 Add function arguments to group data new brainstorming minor GCE Toolbox vaporware Core toolbox

Reported by adam.kennedy@oregonstate.edu, 3 years ago.

description

daterange2flags() and correctdrift() could be enhanced to allow date range flagging on grouped data, for example, siteID.

Milestone: GCE Toolbox version 4.0 (20 matches)

Ticket Summary Status Type Priority Milestone Component
#320 Error computing hour decimal format from hour:minute:second closed defect critical GCE Toolbox version 4.0 Core toolbox

Reported by georam@nmsu.edu, 6 weeks ago.

description

In line 84 of the file add_year_yearday_hours.m there was an error, the last component of the formula, the one that is transforming the seconds to hours, is incorrect. It is diving by 360 instead of 3600.

#87 Add a Q/C function for looking up limit check values in a reference data set accepted enhancement major GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 6 years ago.

description

For long-term data it is often impractical to generate limit check rules because expected ranges vary over the year, so many qualified rules would need to be managed to effectively Q/C the data. In these cases it would be simpler to manage the Q/C ranges in a separate reference data set and then reference this data set once in a rule. The data set would need to be specified, along with column to look up and column(s) containing the limit check criteria. This use case was reported by Aaron Stephenson (NTL-LTER).

#88 Revise ui_plotdata.m to support more intuitive setting of plot parameters accepted enhancement major GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 6 years ago.

description

The ui_plotdata.m GUI requires that plot parameters be selected before adding the variable to the selection list, which is not intuitive for new users. This GUI should be redesigned to allow variables to be selected and then plot parameters assigned and revised separately. This issue was reported by John Porter (VCR-LTER) and Mary Martin (HBR-LTER).

#299 Add Wiki page describing defining and managing custom import filters new task major GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 11 months ago.

description

A Wiki page is needed to walk people through the steps to define and manage custom import filters.

#300 Add Wiki page describing managing workflow timers new task major GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 11 months ago.

description

A Wiki page should be added to describe use of the harvest timer management tools.

#301 Add Wiki page describing using the menu extensions feature new task major GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 11 months ago.

description

A Wiki page should be added describing how to register new menu items using extensions.m

#324 Invalid structure return when using update_attributes.m to revise Q/C criteria closed defect major GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 5 weeks ago.

description

When new Q/C criteria is applied using update_attributes.m the update fails with an invalid data structure error.

#10 Add sub-hourly and weekly time interval statistics to ui_aggrdatetime accepted enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 9 years ago.

description

Currently, data can only be aggregated by year, month, day or hour in ui_aggrdatetime. Options should be added for sub-hourly (e.g. 15 min) and weekly aggregation using ISO or conventional week numbering schemes. This will require re-factoring the date parsing logic and adding derived columns for hour fraction or week number column to datasets for aggregation.

#106 Add multi-variable support to Visual Q/C tool accepted enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 6 years ago.

description

The Visual Q/C tool (ui_visualqc.m) restricts flag/unflag operations to one variable at a time to prevent misapplication of flags when trendlines overlap. However, synchronizing flag edits across multiple variables could be useful in some cases. An option could be added to synchronize flag/unflag operations across all plotted variables to support this use case.

#165 Add option to pad_date_gaps.m to not regenerate date part columns accepted enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

When core/pad_date_gaps.m is called, any date part columns (Year, Month, Day, ...) are automatically regenerated to fill in the NaN/empty values after filling. In cases where columns of those names are included that don't derive exactly from the primary date/time column inappropriate overwriting may occur. An option should be added to skip regenerating date part columns for those cases.

#171 Add a flag report function that lists flags assigned for each variable accepted enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

The statistical summary functions only list total flags assigned, and the harvest_check() function returns a formatted string summarizing flag assignments. A function that generates a structured report of individual flags assigned by variable would be useful in debugging flag rules and assessing station status.

#178 Add function for parsing coordinates from Google Earth KML files accepted enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

Google Earth KML files are frequently used to exchange or enter geographic coordinates. It would be useful to have a KML parser in the toolbox for getting site names, descriptions and coordinates from KML files.

#194 Add support for removing redundant flags or all but first flag new enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 4 years ago.

description

More options should be provided for managing multiple flags assigned to data values. Options to remove redundant flag assignments and remove all but the first-assigned (highest priority) flag would be useful.

#263 Add Wiki page describing how to use harvest_dashboard.m new task minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 2 years ago.

description

A Wiki page should be added describing how to add calls to harvest_dashboard.m to new or existing data harvesting workflows.

#285 Link data from harvest dashboard view accepted enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by adam.kennedy@oregonstate.edu, 21 months ago.

description

Adds data link from the dashboard view to the data source file and the data source index page.

ie. from: https://andrewsforest.oregonstate.edu/sites/default/files/lter/data/weather/portal/CENMET/dash/233_a_105/index.xml

to: https://andrewsforest.oregonstate.edu/sites/default/files/lter/data/weather/portal/CENMET/data/cenmet_233_a_5min_2017.html

and to: https://andrewsforest.oregonstate.edu/sites/default/files/lter/data/weather/portal/CENMET/data/index.html

#304 Update EML units after 2.2 release new task minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 9 months ago.

description

The EMLUnitDictionary.mat file distributed with the toolbox should be updated after version 2.2 is officially released to include all the new standard units and the UDUnits synonym field contents. A utility function and XSLT transform should be added for parsing the .xml file to simplify future updates, preserving any custom units.

#321 Flag definition not created when calling daterange2flags.m closed enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 5 weeks ago.

description

When calling the function date2range2flags.m and specifying a flag that isn't already defined in the data structure metadata no definition is created, preventing the flag from show up in Q/C dialogs. A flagdef argument should be added to support registering the flag definition if necessary to prevent this situation.

#322 Add arguments to begin flagging N timesteps before and after criteria met with specified Flag new enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by adam.kennedy@oregonstate.edu, 5 weeks ago.

description

Let's say we have a binary column value that indicates when a sensor is online (1 for online, 0 for removed). Then the field tech arrives at the station, they'll remove the sensor then go to the logger and manually type in a "0" to indicate the sensor has been removed. This tells the robots that the sensor has been removed. Because there is a delay between the time the sensor is removed and the "0" value entered, the post processing will miss a couple values that should be flagged.

Similarly, when the sensor is replaced, it will go through a short acclimation period where it will transfer from the temperature of the truck to the outside air temperature, for example.

Both of these situations could be addressed by adding two arguments to the num_replace() - 'pre-flag' and 'post-flag' duration after a criteria is met and the flag "Q", let's say. The additional flag argument is important because the values may be valid but will need closer inspection.

%AIR_150 and associated to flag sensor removal col = name2col(data,{'AIRTEMP_MEAN_150_0_04'});

if ~isempty(col) [data,msg] = num_replace(data, ... {'AIRTEMP_MEAN_150_0_04','AIRTEMP_MAX_150_0_04','AIRTEMP_MIN_150_0_04','DEWPT_MEAN_150_0_04','DEWPT_MIN_150_0_04','DEWPT_MAX_150_0_04' ... 'RELHUM_MEAN_150_0_04'}, ... 'AIRTEMP_150_DIAG = 0', ... NaN, ... 1, ... 'M' ... ); end

#323 Add column for bottom of bin to aggr_bindata.m closed enhancement minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 5 weeks ago.

description

The binned statistics function aggr_bindata.m adds columns for [var]_Bin_Top, [var]_Bin_Middle and [var]_Bin_Mean. An additional column fro [var]_Bin_Bottom should be added to provide more complete options for characterizing the aggregation interval.

#325 Over-flagging of values with using flag_novaluechange.m with large window closed defect minor GCE Toolbox version 4.0 Core toolbox

Reported by wsheldon, 2 weeks ago.

description

When the function flag_novaluechange is used with default threshold values of 0,0 and a large window (e.g. 5), all values in a typical data series are flagged. This behavior appears to be related to floating-point math issues with comparisons, because changing thresholds to a very small number like 0.00001 corrects the over-flagging. A more comprehensive fix should be added.

Milestone: GCE Toolbox version 3.9.9b (9 matches)

Ticket Summary Status Type Priority Milestone Component
#310 The daterange2flags() function flags wrong columns when column list specified closed defect critical GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 3 months ago.

description

When calling daterange2flags.m and specifying specific columns to flag (cols <> []) the flags are assigned to the unspecified columns and not to those specified.

#316 Add support for converting units when applying metadata templates closed enhancement major GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 8 weeks ago.

description

Applying a new metadata template could be an effective way to map a data set to a controlled attribute vocabulary. Allowing units to be converted to the target vocabulary units when the template is applied would streamline this use case. The apply_template.m function should support an option to convert units if original and template units don't match instead of just returning the original units and a warning.

#311 Add option for clearing specific flag assignments to statistical aggregation dialogs closed enhancement minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 3 months ago.

description

The options for tallying Q/C flags and setting Q/C rules for summarized data do not discriminate based on flag semantics, so it may not be desirable to include informational flags that don't indicate problematic values (e.g. C = corrected, V = verified, etc). Having an option to clear specific flags in addition to clearing flagged values prior to aggregation would prevent inappropriate flagging of derived values in these cases.

#312 Error in struct2xml() when empty fields present closed defect minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 2 months ago.

description

Cell-to-character conversion errors occur when an empty field is present in the structure.

#313 Schlumberger logger file import assumes GCE instrument closed enhancement minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 2 months ago.

description

The parser for Schlumberger groundwater logger files (imp_schlumberger.m) includes specific checks and workflow steps for GCE-LTER Cera-diver, Baro-diver, and CTD-diver instruments. The parser should be more generic, and use GCE-specific metadata templates and workflows to apply project-specific information

#314 Add general variable name and unit mapping function closed enhancement minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 8 weeks ago.

description

A general function should be available for mapping/converting data sets to match a controlled vocabulary of attribute names, units and qualifier flags, similar to exp_climdb.m. The function should accept the filename of a mapping data set (e.g. Var_Original, Var_New, Units_New) and array of flags to match. Unit conversions should be performed and unmapped variables and flags should be cleared.

#317 Error opening ui_fetch_climdb.m when dialog already open closed defect minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 7 weeks ago.

description

An error occurs when opening an instance of the Fetch ClimDB Data dialog (gui/fetch_climdb.m) if a prior instance of the dialog is already open. The existing dialog should just be given focus in this case.

#318 ClimDB flags not converted to native flag arrays on input closed defect minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 7 weeks ago.

description

Existing flag columns in data sets retrieved from ClimDB are persisted as columns with a space between "Flag" and the described column name (e.g. "Flag AirTemp?"), preventing conversion to native GCE Data Toolbox flag arrays. The flag column prefix should be changed to "Flag_" on import to facilitate this conversion.

#319 Add option to sort unit conversions table on either column when editing closed enhancement minor GCE Toolbox version 3.9.9b Core toolbox

Reported by wsheldon, 7 weeks ago.

description

When the unit conversions database is opened for editing using edit_unitconv.m, the table is always sorted by unit1 (source units). But it is sometimes useful to sort by destination units (unit2) when checking for conversions that need to be added. An option to support this use case should be added.

Milestone: GCE Toolbox version 3.9.9 (14 matches)

Ticket Summary Status Type Priority Milestone Component
#296 Long delay opening ui_correct_drift.m closed defect major GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 12 months ago.

description

Sometimes opening the Correct Drift dialog (gui/ui_correct_drift.m) take a long time (several seconds) to complete.

#298 Bug in imp_gcesonde.m when site name is not regsistered closed defect major GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 11 months ago.

description

When a sonde file from an undefined location is parsed using imp_gcesonde.m and the site cannot be found in parse37_sm.mat, the variable locstr is undefined and a runtime error occurs.

#274 Add assign value as NaN and flag as 'M' on Visual QC/QA Tool closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by anonymous, 2 years ago.

description

The ability to assign observed bad values as NaN and assign an 'M' flag would speed removing impossible values from a dataset. An option to convert a value to NaN and assign a custom flag 'M' in this case might make the Visual Qc/QA tool more efficient.

#276 Function to flag individual dates closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by anonymous, 2 years ago.

description

Function to allow flagging of non-sequential individual dates. This would be similar to flag_daterange() but allow a more succinct method to add dates without using a date pair range. AK

#279 Export/Import QC rules from one GCE data structure to another closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by adam.kennedy@oregonstate.edu, 22 months ago.

description

Function to export QC rules from one GCE ds and import those rules into another GCE ds. This is different than the export metadata since the other GCE ds may have different Variable names. This new function would match the QC rule on the Name field in the new data structure.

This would allow users to pass around a single GCE ds, modify its QC rules independent of the original ds. Once modifications are complete, the QC rules may be exported and then imported into the original ds, thus updating the original ds's QC rules.

#295 Add multiplier option to correct_drift.m closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 12 months ago.

description

Some sensor or logger program code changes can lead to unit or scale shifts that require correction by multiplying (or dividing) by a correction factor. A multiplier option should be added to correct_drift.m (and ui_correct_drift.m) to accommodate this use case.

#297 Add wildcard support to multimerge.m closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 11 months ago.

description

From Adam Kennedy: Is anyone using the multimerge() with a e:\path\to\matfiles\*.mat in place of the filelist cell array?

#302 Add compression option to exp_ascii closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by anonymous, 11 months ago.

description

Add file compression option to exp_ascii .csv to reduce file size of exported GCE ascii file. Akennedy

#303 Revise multimerge.m to support singular structures for workflow use closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 9 months ago.

description

When core/multimerge() is called and the file list variable only contains a single structure reference the function returns an empty structure and error. To support workflows that automatically concatenate files in a directory it would be better to return the single structure as output instead, with a warning in msg. That would support blindly concatenating files in a directory without first inspecting the list to see if it contained more than one file.

#305 Include station type in ClimDB harvest dialog closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 8 months ago.

description

The ClimDB/HydroDB harvest dialog should include station type (Meteorological, Gauging, etc) to indicate what data are being retrieved. This will require changes to the XSLT for parsing the stations report and the GUI (gui/ui_fetch_climdb.m).

#306 Redundant data and flag columns not handled by cols2flags.m closed defect minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 8 months ago.

description

The core/cols2flags.m function is supposed to use column adjacency to determine which flag columns to convert to value flags when redundant column names are present in a data set. However this is not working, and some flag columns are not processed. This is a poor data management practice, but should be handled as described and then sorted out elsewhere in the workflow.

#307 Add title handling options to multimerge() closed enhancement minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 6 months ago.

description

The function core/multimerge.m generates a title for the merged structure containing a list of the base filenames incorporated ("Merged data from x, y, z, ..."), requiring manual updating by the user or workflow. More control should be provided by supporting retention of the first structure title for adding data to a cumulative file or adding a custom title when the function is called.

#308 Document using TLS 1.2 for web and email closed task minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 6 months ago.

description

Many services are now requiring TLS 1.2 for secure server interaction. Procedures to enable TLS 1.2 protocol in Java network libraries using a java.opts file should be documented.

#309 Flag columns not documented in EML when some flag options are used closed defect minor GCE Toolbox version 3.9.9 Core toolbox

Reported by wsheldon, 4 months ago.

description

When options to generate flag columns for all data/calculation columns plus any non-data columns with flags assigned are specified when calling gceds2eml() the flag columns are not documented in the EML. EML-described data packages therefore fail PASTA congruency checks and cannot be uploaded to EDI.

Milestone: GCE Toolbox version 3.9.8 (8 matches)

Ticket Summary Status Type Priority Milestone Component
#291 When large gaps are present interp_missing.m may fail to interpolate singleton missing values closed defect critical GCE Toolbox version 3.9.8 Core toolbox

Reported by asapp, 16 months ago.

description

When large gaps exceeding the threshold value are present in a data set and all the other interpolated values are singleton missing values, the interp_missing.m will fail to interpolate any values and return the original structure with a warning. This appears to be due to the test for any contiguous runs of interpolated values within bounds. The code should check for this contingency.

#286 Plot resize option fails on recent versions of MATLAB closed defect major GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 19 months ago.

description

The 'Resize Plots' option under the 'Special' or 'GCETools' menus added by support/plotmenu.m fail and throw an error using recent versions of MATLAB due to the deprecation of the selectmoveresize function and replacement with plotedit.

#287 The fetch_itis.m function returns an error about the html variable closed defect minor GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 18 months ago.

description

The function support/fetch_itis.m returns an error referring to an invalid variable 'html'.

#288 Correct Drift GUI should default to starting and ending times of data series closed enhancement minor GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 18 months ago.

description

When the Correct Sensor Drift GUI (gui/ui_correct_drift.m) is initialized the starting and end dates for corrections should default to the full date range of the data set for global corrections.

#289 The correct_drift.m function flags NaN values as corrected closed defect minor GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 17 months ago.

description

The correct_drift.m function assigns C flags by default to corrected values, including NaN values that were not modified. NaN values should be excluded when flags are assigned.

#290 Add option to aggr_stats.m for checking for sparse variables to avoid excessive missing flags closed enhancement minor GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 17 months ago.

description

When missing criteria are included in qcrules when aggr_stats.m is called, flags can be assigned to all values in sparse variables. An option to check for this condition should be added.

#292 Add option to skip metadata merge to mergemeta.m and merge_by_date.m closed enhancement minor GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 14 months ago.

description

An option should be added to core/mergemeta.m and core/merge_by_date.m to skip merging metadata after merging the data columns for parity with multimerge.m and to support cases where multiple data sets are manually merged (e.g. in different directories). The options should also be added to gui/ui_editor.m.

#293 Spelling variations in NWIS inline flags break parse_usgs.m closed defect minor GCE Toolbox version 3.9.8 Core toolbox

Reported by wsheldon, 14 months ago.

description

The USGS NWIS system includes inline flags in place of numeric values during station recalibration or maintenance events that prevent parsing in MATLAB. The parsers/parse_usgs.m function has to remove these values using regex to properly parse the data. Recently USGS started including spelling variants of some codes in rdb files (e.g. DIS instead of Dis) that breaks the parsing. The regex logic should be changed to allow case-insensitive matching.

Milestone: GCE Toolbox version 3.9.7b (11 matches)

Ticket Summary Status Type Priority Milestone Component
#278 Attribute numeric type unspecified when importing data using an incomplete metadata template closed defect major GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 23 months ago.

description

When a data file is imported and a metadata template is specified that does not contain complete attribute descriptors, the resulting data structure can contain columns for Numerical Type = 'unspecified'.

#282 The ClimDB publishing workflow is broken after the switch to require HTTPS closed defect major GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 22 months ago.

description

The ClimDB/HydroDB server at the LTER National Communications Office was revised in early 2017 to require HTTPS for initiating harvests. The workflows/publish_climdb.m function defaults to HTTP, and the resulting 401 redirect error breaks the function.

#89 Extend EMLdataset2mfile.xsl to include additional elements closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 6 years ago.

description

The EMLdataset2mfile.xsl stylesheet should be extended to include all content supported by the GCE toolbox, including project and associatedParty.

#173 Add function for altering precision of date/time column closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 5 years ago.

description

Over-precise time values that differ between stations can often interfere with automatic date/time joins (e.g. data logged at 10-15 minutes, but timestamps vary in seconds). This issue can be overcome by generating date component columns, deleting unneeded columns, then re-generating the date or timestamp column to revise the precision. A single function and corresponding GUI menu item that performs these steps would be a useful addition to the toolbox, and avoid issues determining which columns to use when calling add_datepartcols() and then add_datecol() from the GUI.

#224 Add option to compute hourly statistics aggregated on 60minutes previous to timestamp value. closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by Adam.Kennedy, 3 years ago.

description

Campbell Scientific data logger compute hourly statistics on values differently than normal database functions. For example, an hourly 1100 average from a CSI data logger output table would include the values sample between 1001 and 1100, if collected at 1 minute sample frequency. This option would be an enhancement to the current GCE aggregation method such that it would allow a direct comparison between GCE averaged values and CSI data logger averaged values.

#275 Add "show QC rules" to the Data Harvester Dashboard closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by anonymous, 2 years ago.

description

When there are many QC rules used for a variable, the amount of text dominates the Dashboard view cell size and becomes unreadable.

Allow the user to disable QC rule display on Dashboard or add "Show QC" link to the dashboard layout.

#277 Long sets of Q/C rules blow up the harvest dashboard webpage layout closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 2 years ago.

description

From Adam Kennedy at AND: "...This creates a lot of qc rules in the import templates. This is fine, however, the view on the harvest dashboard and data description page become cluttered with this new information. Having an option to remove the QC rules and QA/QC Flags for variables would help, tweaking the formatting on the data description page would help, adding an extra link to get to the qc rules/flags would help."

#280 Update data submission spreadsheet to include auto-complete fields closed task minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 22 months ago.

description

The file /demo/data_submission_template.xls is outdated. A new version used at GCE-LTER (data_submission_template.xlxs) includes drop-down menus for attribute metadata fields and other refinements. The version in the toolbox distribution should be replaced.

#281 Add sample harvester for CHORDS web service closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 22 months ago.

description

NCAR has developed a light-weight cloud-based data service called CHORDS that uses simple HTTP GET commands for uploading and retrieving data. A sample parser and harvest script should be added for demoing this functionality.

#283 Code comments in Q/C criteria can break the parser closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 22 months ago.

description

Including code comments along with Q/C criteria (%xxx) can cause the interpreter to error and therefore skip the rule in certain circumstances. This option should be explicitly supported for documenting rule rationale.

#284 Add support for authenticated SMTP when sending harvester emails closed enhancement minor GCE Toolbox version 3.9.7b Core toolbox

Reported by wsheldon, 22 months ago.

description

Most email servers now require authentication for SMTP, but by default MATLAB used unauthenticated SMTP for sendmail.m, requiring a relay. Java can be used to handle the authentication as documented by Mathworks, but this requires support functions for usability. These should be added to the toolbox.

Milestone: GCE Toolbox version 3.9.7 (24 matches)

Ticket Summary Status Type Priority Milestone Component
#272 Revise ClimDB data mining code to use HTTPS closed enhancement blocker GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

The LTER ClimDB/HydroDB website was revised to use the HTTPS protocol, so parsers/fetch_climdb_info.m, parsers/fetch_climdb_data.m and gui/ui_fetch_climdb.m need to be revised to use this protocol for climhy.lternet.edu to avoid permanent redirect errors.

#265 Add support for end-of-interval aggregation for date/time resampling closed enhancement critical GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

From Jennifer Morse:

We use campbell loggers at most of our sites (as I’m sure many of you do). The timestamp from the campbell logger’s refers to the data before the timestamp. As in 13:00 refers to the data from 12:50 to 13:00.

It seems like the toolbox is set up to consider the timestamp as the data in front of the hour. As in, 13:00 refers to the data from 13:00 to 13:10?

This seems to be creating an issue in our data set when we use the toolbox to aggregate ten minute into hourly data, where the toolbox hour 1:00pm aggregated from ten minute data is actually referring to data from 12:50pm to 1:50pm.

I realize to some extent this is just semantics… but is seems awkward to leave this as is for users.

Wondering if there were any ideas on how to deal with this in the toolbox…. other than moving each time stamp forward ten minutes before processing the data?

#249 An option should be added to copy composite flags when creating calculated columns closed enhancement major GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

When adding a calculated column using core/add_calcexpr.m or gui/ui_calculator.m there should be an option to automatically add composite flags from all the referenced data columns as manually-assigned flags. Flags can be propagated manually, but an automatic option would save effort and ensure Q/C information isn't lost.

#251 Data Set Editor import metadata ignores documentation only and selected documentation options closed defect major GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

When metadata is imported from an existing data structure in the Data Set Editor (ui_editor.m) using File > Import Metadata > Existing Data Structure, the Documentation Only and Selected Documentation Only options are ignored and column attributes are imported as well.

#252 Query builder throws an error when a space-delimited array is specified closed defect major GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

When a space-delimited array is specified as the value for "IN ARRAY" or "NOT IN ARRAY" instead of a comma-delimited array an error is generated about multi-line text and the textbox disappears.

#264 USGS NWIS switching to HTTPS protocol closed enhancement major GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

The USGS NWIS will start requiring HTTPS protocol be used for all web queries beginning Dec 15 2016. The USGS data retrieval functions in the toolbox (fetch_usgs.m and fetch_usgs_dates.m) will need to be revised to take this change into account, because MATLAB's urlread() and urlwrite() functions will not follow HTTP 301 redirects.

#250 Existing column selections are ignored when cloning selected columns in ui_editor.m closed defect minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

When multiple columns are selected and the user selections File > Clone Data Structure > Selected Columns a listbox is displayed for choosing columns with none of the prior selections highlighted. This is confusing since other editor menu options for selected columns use the main column list multiple selections.

#253 Add sparse variables option to harvest_dashboard.m to avoid always highlighting plots closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

From Adam Kenedy:

Quick question on the Dashboard views (ie. http://andrewsforest.oregonstate.edu/lter/about/weather/portal/RS/RS89/dash/99_a_105/index.xml).http://andrewsforest.oregonstate.edu/lter/about/weather/portal/RS/RS89/dash/99_a_105/index.xml).

We're setting up manual entry fields via 10key at our logger stations to verify field measurement with known/calibrated standards. Since we'll only enter values into these fields every three weeks, there will be a lot of missing or NaN values along side the regularly collected 5min values. The Dashboard functions recognize these missing values and color codes the plots as expected.

Is there a way to set the dashboard function up so that on these selected fields the color coded plot indicators aren't triggered?

#254 Add function for adjusting date/time values that differ slightly from the set interval closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

Time series data sometimes deviate from the specified sampling interval due to clock errors, numeric date rounding issues by data loggers or software, or issues starting the logging precisely at the desired time. For example, 30 min data series may contain records at 29 min, 59 min, 1 min, etc. These deviations can complicate generating a monotonic time-series data set for time series analysis or result in excessive missing records when calling pad_date_gaps.m. A function for adjusting these minor deviations around the specified interval without re-sampling the data would be useful for these cases.

#255 The sql2gceds.m function doesn't support unicode text fields like nvarchar closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

From Adam Kennedy, including a fix:

I have a nvarchar database field and it appears sql2gceds.m was failing when it saw this. I added it to the lookup list in that function and the import succeeded, but I thought I would point this out as there might be a better way to accomodate this field. 'nvarchar' is used by the HANDAR sonic anemometer (Vaisala WS425).

if mlversion >= 7 %use MATLAB 7+ syntax

lookup = {'bit','d','logical','discrete','double(datacol)'; ...

'boolean','d','logical','discrete','str2num(char(strrep(strrep(datacol,true,1),false,0)))'; ... 'numeric','f','data','continuous',; ... 'decimal','f','data','continuous',; ... 'real','f','data','continous',; ... 'double','f','data','continuous',; ... 'float','f','data','continuous',; ... 'integer','d','data','discrete',; ... 'int','d','data','discrete',; ... 'int identity','d','ordinal','discrete',; ... 'bigint','d','data','discrete',; ... 'smallint','d','data','discrete',; ... 'tinyint','d','data','discrete',; ... 'date','s','datetime','none',; ... 'datetime','f','datetime','continuous',; ... 'datetime2','f','datetime','continuous',; ... 'time','s','datetime','none',; ... 'timestamp','s','datetime','none',; ... 'char','s','nominal','none',; ... 'nvarchar','s','nominal','none',; ... 'varchar','s','nominal','none',};

#256 Empty leading space in flag column leads to unspecified code when flag column instantiated closed defect minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

In a recent legacy data integration project a Q/C flag ended up with a blank leading space before a flag code, resulting in separate entries for 'Q' and ' Q' in the list of used flags to define when flags2cols.m was used to instantiate flags as data columns. How this unsupported flag configuration happened is unclear, but this case should be mitigated in flags2cols.m to avoid generating " = unspecified" code definitions and EML validation errors.

#257 Add data set report tool to Search Engine closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

The ability to generate a data set report from the search index would be helpful for reporting. Fields should include filename, accession, title, authors, study dates, file size, records, etc.

#258 The update_attributes() function doesn't support setting precision when changing datatype from integer to floating-point closed defect minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

When changing the data type of an integer column from integer (d) to floating-point (f), the precision cannot be changed at the same time. Precision remains a 0 with an error message.

#259 Revise fill_date_tokens.m for use with legacy data closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 3 years ago.

description

The fill_date_tokens.m function is useful for generating filenames for harvesting scenarios, but it's hard to use for re-harvesting legacy data because it always uses the current system time (now()) as the date basis. Adding a reference date argument would allow more general use in workflows.

#260 Add select all button on Join Data dialog box closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by Adam.Kennedy, 3 years ago.

description

When performing an automatic Join on Date/Time on a structure that has hundreds of variables, it is repetitive to click Add for each variable when selecting columns. An "add all" or better still click - shift - click to select all or a portion of variables in the Available columns from A and from B improves this process.

#261 fetch_itis.m fails to connect to ITIS closed defect minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

The support/fetch_itis.m function can no longer connect to ITIS due to HTTP 302 redirects from the HTTP address to HTTPS.

#262 Add support for reversing plot row order for harvester web pages closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

HBR has requested advice for changing the order of plots generated by harvest_webplots_xml.m so the most recent data are at the top of the page. This could be accomplished by an XSLT change.

#266 Add export struct to workspace option to Data Set Editor closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

The native MATLAB plotting tools available through the desktop work better with struct variables and table objects, because multiple columns can be selected. An option to export a struct variable to the workshop should be added to support this functionality.

#267 Add option to harvest_dashboard.m for splitting data series by column values closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

The harvest_dashboard() function could be leveraged for generating comparative web plots for variables in any time-series data with a modified style sheet. Being able to split a compound data set into separate variable plots by factor (e.g. site, treatment, ...) and plotting each selected variable for each factor on the same scale would benefit this use case.

#268 Add option to convert NaN values to 0 in data set editor closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

Adding an option to call the nan2zero.m function from the Edit menu of the data set editor would be useful.

#269 Add option for generating yearly ticks on plots closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

An option for generating exact yearly x-axis ticks on Jan 1 should be provided on the GCETools menu for long time series plots, parity with monthticks.m for yearly plots.

#270 Add a plot option for min/mean/max range graphs closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

An option to plot the range of daily or monthly values as a min-to-max bar with a mean line plot on top would aid in visualizing trends in widely-ranging variables like estuarine salinity.

#271 Revise EMLdataset2mfile.xsl to use native MATLAB urlwrite for HTTPS instead of cUrl closed enhancement minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

The EMLdataset2mfile.xsl stylesheet generates an m-file for loading EML metadata, downloading dataTable entities, and importing them into the MATLAB environment. Due to issues with self-signed certificates in earlier implementations of PASTA, the generated code was originally written to use cUrl (see http://curl.haxx.se/) for handling the HTTPS protocol. However, MATLAB's HTTPS support in urlwrite has improved and PASTA now has a valid SSL certificate so this dependency is no longer required. The stylesheet should be updated to only call cUrl as a fall-back if HTTPS fails.

#273 Titles and axis label fonts too small for plots in recent MATLAB versions closed defect minor GCE Toolbox version 3.9.7 Core toolbox

Reported by wsheldon, 2 years ago.

description

In recent MATLAB versions, e.g. 2016b, setting fontsize for the axis also overrides font size for child objects including ylabel, xlabel and title. As a consequence plots generated by plotdata.m have smaller 10-point fonts for title and axis labels than in previous MATLAB versions.

Milestone: GCE Toolbox version 3.9.6b (3 matches)

Ticket Summary Status Type Priority Milestone Component
#248 Syntax errors running the toolbox under MATLAB R2008b closed defect major GCE Toolbox version 3.9.6b Core toolbox

Reported by wsheldon, 3 years ago.

description

A user reported errors running the toolbox under MATLAB R2008b. Testing confirmed that this issue is caused by the use of the recommended null output variable syntax in recent versions of MATLAB (e.g. [~,x] = ...). Support for that syntax was introduced after R2008b so that and earlier versions cannot successfully run the toolbox. This syntax should be rolled back to [nullvar,...] or similar to restore functionality.

#246 Call to gceds2eml_table.m fails if optional 'fn' argument omitted closed defect minor GCE Toolbox version 3.9.6b Core toolbox

Reported by wsheldon, 3 years ago.

description

The fn (filename) argument in /xml/gceds2eml_table.m is listed as optional, but the function call returns an unassigned input argument error if it is not provided.

#247 Add function for searching/replacing text in dataset and template metadata closed enhancement minor GCE Toolbox version 3.9.6b Core toolbox

Reported by wsheldon, 3 years ago.

description

When typos are identified in metadata it can be very tedious to manually make the necessary changes in data set and template metadata fields. A function to automate this process would simplify this maintenance.

Milestone: GCE Toolbox version 3.9.6 (10 matches)

Ticket Summary Status Type Priority Milestone Component
#237 Wrong field updated by update_attributes.m when numbertype specified closed defect critical GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

When revisions to numbertype are specified in calls to core/update_attributes (or workflows/batch_update_attributes), the changes are made to the variabletype field instead of numbertype, corrupting the data structure with unsupported metadata.

#244 Changes to time zone within a USGS instaneous data file are not reflected in parsed data closed defect critical GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

When USGS data files are parsed using parsers/parse_usgs.m the time zone is retrieved from the first record and added to the units and description of the calculated serial date column (and used by unit conversions). However when a station reports local time and daylight savings time is observed the time zone can shift within a single data file. As a result conversions to UTC or standard time in workflows can result in hidden 1 hour shifts in processed instantaneous (sub-daily) data files around daylight savings time transition dates.

#235 Only column-oriented filelist accepted by multimerge.m closed defect major GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

When a row-oriented list of filenames is used for the filelist argument when calling multimerge() an error is returned. Only column-oriented lists are accepted but this is not documented. The function should accept any valid cell array of file names.

#240 Syntax error in core/gceds2table.m closed defect major GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

There is a syntax error in core/gceds2table.m that prevents use - an unreferenced variable dim.

#238 Placeholder tilde in Q/C criteria field not cleared by parseheader.m closed defect minor GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

When a data set is serialized in Toolbox ASCII Input File format or generated from the Excel Data Submission Template placeholder tilde (~) characters may be included in header fields to aid parsing. Those placeholders are removed in most header fields, but not removed in Q/C criteria fields to avoid invalidating rules containing NOT criteria. This case should be tested for explicitly.

#239 Add Dataset Editor option for exporting data set to MATLAB table object closed enhancement minor GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

MATLAB now supports a table object that parallels GCE Data Structures in some ways. The function core/gceds2table.m supports generating a table object from a GCE Data Structure, but there is no option for running it from the GUI Data Set Editor.

#241 GHCND import filter calculates mean temperature from min and max when measured average is present closed defect minor GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

The NCDC GHCN-D import filter (parsers/imp_ncdc_ghcnd.m) automatically calculates TMEAN from TMIN and TMAX to provide mean daily temperature when only max/min thermometers are used. However modern weather stations report measured daily average temperature so this estimate is not necessary. The filter should check for TAVG before calculating TMEAN.

#242 Add ClimDB harvest trigger workflow closed enhancement minor GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

The ClimDB harvest trigger workflow used at GCE for the USGS harvesting service could be useful to other sites automating data submissions to ClimDB/HydroDB. This function should be added to the base toolbox.

#243 Add warning message to Harvest Dashboard web page when station goes offline closed enhancement minor GCE Toolbox version 3.9.6 Core toolbox

Reported by wsheldon, 3 years ago.

description

The Harvest Dashboard web page displays the date indexed, but does not display the date/time of the last data record retrieved or warn when no no data are present. An XML tag is generated for that purpose (/root/temporal_coverage/hours_lapsed), but the code needs to be added to XSL stylesheets to display the information.

#245 Set dialog windowstyle to normal before setting position, resize, etc. closed defect minor GCE Toolbox version 3.9.6 Core toolbox

Reported by jsheldon@uga.edu, 3 years ago.

description

Running Matlab R2016a. These are probably not the only lines that will trigger these warnings. Version check and setting windowstyle is after position, resize, etc. in the code and is triggering warnings like the following in several places where dialogs are created. Warning: Cannot set Position while WindowStyle? is 'docked'

In ui_aboutgce (line 105)

Warning: Cannot set Resize to 'off' while WindowStyle? is 'docked'.

In ui_aboutgce (line 105)

Warning: Cannot set Position while WindowStyle? is 'docked'

In ui_editor (line 128)

Warning: Cannot set Resize to 'off' while WindowStyle? is 'docked'.

In ui_editor (line 128)

Milestone: GCE Toolbox version 3.9.5 (13 matches)

Ticket Summary Status Type Priority Milestone Component
#230 Slow processing times on Harvest Dashboard during persistent flag periods closed defect blocker GCE Toolbox version 3.9.5 Core toolbox

Reported by dam.kennedy@oregonstate.edu, 3 years ago.

description

Slow processing times are noticed when a variable has large number of flagged values.

I noted this priority as a blocker, but it's really a bottleneck. And defect might be a bit too harsh.

Note: The machine matlab is running on is a 2.5Ghz 4GB ram 64bit Windows 7 virtual machine. Ranks as one of the lowest performing platforms ML will run on.

#234 pad_date_gaps.m generates uneven time steps in MATLAB R2016a closed defect critical GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

When pad_date_gaps.m is run in MATLAB R2016a, a different number of records is generated than using previous versions resulting in uneven time steps (e.g. 15 minute data with steps at 14, 44, 59, ...).

#223 Cannot use search/replace to fill empty text values closed defect major GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

From Jody Potter: "If I want to fill empty records in a text column with the same text throughout, what would I do? I’ve tried the Search/Replace String function, but do not know what would be inserted in Old Text when the records are empty?"

#225 Tilde characters stripped from Q/C criteria in headers can invalidate custom rules closed defect major GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

The tilde character (~) can be used as a placeholder for an empty text field in ASCII file headers to simplify parsing files using parseheader.m. The tildes are then replace with spaces during parsing. However, if tildes are included in Q/C criteria to represent the MATLAB NOT operator then the rules can be altered by this string substitution.

#226 Units not importing with Campbell TOA5 import filter closed defect major GCE Toolbox version 3.9.5 Core toolbox

Reported by janderso@nmsu.edu, 3 years ago.

description

Installed: MATLAB R2013b (8.2.0.701) 32-bit Installed: GCE Toolbox V3.9.4b (Public distribution, complete package) Installed: Windows 7 Ultimate

Units are not importing using Campbell TOA5 import filter. But they do import using File > Import Data > Delimited Text File (ASCII) > Custom parsing

Steps taken: Data Structure Editor: File > Import Data > Campbell Scientific TOA5 Data > Any Station (generic template)

Result: In Data Structure Editor, the Date column and Column Names were correctly created, but the units were not imported from row 3 and are not listed after the column name nor listed in the data set view created with Edit>View/Edit data. In Data Structure Editor Column List, does not even show "(none)" for units after column name.

First 6 lines from sample data: met_15min_toa5.dat "TOA5","CR1000","CR1000","5203","CR1000.Std.10","CPU:SAPMLMET_V6.0_041310.CR1","48958","SWMP" "TIMESTAMP","RECORD","ATemp","MaxTemp?","MaxTempT","MinTemp?","MinTempT","RH","BP","WSpd","Wdir","SDWDir","MaxWSpd","MaxWSpdT","TotPrcp?","TotPAR","AvgVolt?","CumPrcp?","TotRad?" "TS","RN","C","C","hhmm","C","hhmm","%","mb","m/s","Deg","Deg","","hhmm","mm","mmoles/m2","Volts","mm","mmoles/m2" "","","Avg","Smp","Smp","Smp","Smp","Avg","Avg","WVc","WVc","WVc","Smp","Smp","Tot","Tot","Avg","Smp","Tot" "2010-11-11 11:45:00",18060,21.50763,21.71759,"11:30",21.27892,"11:42",45.07585,1024.826,5.093334,56.84837,18.13199,7.2,"11:41",0,1049.867,13.21411,0.254,348.5052 "2010-11-11 12:00:00",18061,21.47951,21.71759,"11:55",-1.24518,"11:52",45.40335,1024.735,4.833333,53.9375,16.6154,7.65,"11:48",0,1066.515,13.21167,0.254,358.3602

#210 Batch import GUI excludes filters with a blank sub-heading closed defect minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 4 years ago.

description

The batch import GUI (gui/ui_batch_import.m) actively excludes any filter entries in imp_filters.mat that do not have a subheading defined to screen out legacy entries. This behavior is unnecessary given how gui/ui_editor.m now renders import filter entries, so this restriction should be removed.

#222 Test toolbox using MATLAB 2016a closed task minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

A new version of MATLAB is about to be released, so compatibility testing should be performed.

#227 Add function to perform batch updates to documentation and attribute metadata closed enhancement minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

Management changes sometimes require making bulk changes to documentation metadata (e.g. contact info changes) or attributes (e.g. unit or Q/C criteria changes). A function to automate and document these changes would be useful.

#228 Harvest Dashboard should support symbol flags to improve speed for dense data closed enhancement minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

The harvest_dashboard.m function plots Q/C-flagged values as text over the corresponding value, but when data are dense with many flags assigned this can bog down the plot speed. An option should be added to support plotting flags as symbols like in plotdata.m.

#229 The batch_import.m function doesn't exclude . and .. aliases with *.* is used closed defect minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

The '*.*' is used as the filemask for batch_import.m, directories and directory aliases (. and ..) are matched, requiring the user to cancel a file prompt dialog when the files can't be loaded. Directories should automatically be excluded when using wildcards to select files. This issue was reported by Kristin Vanderbilt at SEV-LTER.

#231 The interp_missing() function does not return useful error on invalid time series failures closed defect minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

As reported by Nicholas Grant at HBR-LTER, the data interpolation function interp_missing() and corresponding GUI dialog only returns the message "Warning: no values were interpolated for the selected column" when interpolation fails due to an error condition, e.g. trying to fill an invalid time series (e.g. with duplicated timestamps). Details of the error should be reported to help identify the nature of the problem.

#232 The fullcrosshair pointer is no longer supported in MATLAB 2014 and higher closed defect minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

Support for the full screen crosshair pointer (fullcrosshair) was removed in MATLAB 2014, resulting in a warning message when used. Several toolbox functions called by the Correct Sensor Drift GUI (e.g. get_yaxis_range.m, get_xaxis_range.m) use this option and should be revised.

#233 Add data tooltip option to GCETools menu on plots closed enhancement minor GCE Toolbox version 3.9.5 Core toolbox

Reported by wsheldon, 3 years ago.

description

Reported by Adam Kennedy:

"Is there a method to change the default Data Cursor output on a plot generated with the Dataset Editor to show a full date string or a full serial date number that a user can convert in the workspace?"

An option should be added to the GCETools menu to use the datacursormode function to create a data tooltip with formatted date/time.

Milestone: GCE Toolbox version 3.9.4 (16 matches)

Ticket Summary Status Type Priority Milestone Component
#206 Revise graphing functions to support MATLAB 2014+ closed task critical GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

MATLAB 2014 introduced an over-hauled handle graphics engine, with major syntax and object property changes. Some toolbox plotting functions are not currently compatible with these changes and result in errors (e.g. legend-handling code, axis checking, zbuffer rendering for plots). Version checking code and syntax changes are required for full compatibility with MATLAB 2014 and higher.

#220 Header option ignored when exporting EML packages closed defect critical GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 3 years ago.

description

When any header option other than 5-line is chosen in the EML package export GUI or when calling gceds2eml.m or gceds2eml_table.m the option is ignored. In addition, the EML metadata correctly describes the requested header format resulting in a non-congruent data table.

#208 Short gaps not identified and filled by pad_date_gaps.m closed defect major GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

In some cases, core/pad_date_gaps.m does not correctly identify short date gaps due to floating-point decimal rounding issues.

#215 Add option to import only documentation metadata from a template or data structure closed enhancement major GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

The core/apply_template.m function and corresponding option in gui/ui_editor.m provide several options for importing documentation metadata from templates or other data structures, but attribute metadata are always updated. Opening the metadata in the metadata editor application is currently the only way to refresh documentation without affecting attributes. Adding an option to update documentation metadata without revising attribute metadata would simplify both interactive and scripted documentation updates.

#219 Leading spaces in space-delimited ASCII file result in extra variable name in ui_importfilter.m closed defect major GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

The the 'Parse Names' or 'Parse Units' buttons are used in gui/ui_importfilter.m to parse a space-delimited ASCII file, and extra variable (none) is pre-pended to the column list if leading spaces are present (e.g. right-justified data columns and heading). When the format is parsed the extra white-space is ignored, however, resulting in a mismatch between column names and data, resulting in an invalid data structure.

#126 Add GUI for running multi_templates.m closed enhancement minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 6 years ago.

description

It is occasionally necessary to apply multiple metadata templates to a data source based on date-specific changes to parameters (e.g. calibration or unit changes). This can be handled using multi_templates.m in a workflow, but a GUI for specifying templates and starting/ending dates would make this function more accessible.

#207 Add GUI dialog for plot_vertprofile.m closed enhancement minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

It would be useful to develop a GUI dialog to parameterize the plotting/plot_vertprofile.m function for generating 3D contour plots of cruise vertical profile data.

#209 User-specified title input to imp_ascii.m overridden when automatic format parsing required closed defect minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

When imp_ascii.m is called without specifying a format string, the subfun_parseascii sub-function is called to determine the header and data format. However when the titlestr argument is specified when calling imp_ascii.m it is not used resulting in a default title of "Data imported from the text file...".

#211 Add option to plotting/plot_vertprofile.m to display distance and depth of measurements closed enhancement minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

An option should be added to plotting/plot_vertprofile.m to display the distances and depths where actual measurements were made and not interpolated. Adding a vertical line for distance with points for depths would be an effective way to convey this information.

#212 Undefined output error in pad_date_gaps.m closed defect minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

The dt_add output variable is not defined in core/pad_date_gaps.m prior to initial validation checks, so if the function is aborted an undefined output error occurs.

#213 Date tokens in abstract not filled in by parse_usgs.m when generic template used closed defect minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

When no template or the generic USGS_General template is specified for parsers/parse_usgs.m, mindate and maxdate variables may not be defined depending on the date/time format of the Date column. Therefore the starting and ending dates in the abstract will be blank, and a syntax error regarding array concatenation may be displayed.

#214 Add import filter for SeapHOx instruments closed enhancement minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

GCE and other coastal/marine LTER sites are starting to work with SeapHOx and SeaFET sensor packages. Import filters should be added to the toolbox so data processing workflows can be developed.

#216 Manual tokens in Q/C criteria retained when saving metadata as a template closed defect minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

When File > Save Metadata Template is used in gui/ui_editor.m to create a metadata template from the open data structure, manual tokens in Q/C criteria (locked rules) from interactive flag editing are retained, preventing the rules from being applied to new data when the template is applied. The manual tokens should be removed when saving.

#217 Attributes should be matched by Name and not Variable when syncing Q/C rules closed enhancement minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

When Q/C rules are synced in gui/ui_template, attributes should be matched by Name and not Variable to facilitate synchronization across templates for different data sources. For example, to standardize rules for common variables measured using different loggers with different program-assigned variable names.

#218 Add utility for indexing images and thumbnails for web display closed enhancement minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 4 years ago.

description

Photographic images are increasingly being used for research. A utility to index images and parse EXIF metadata for web display would be useful.

#221 MATLAB R2015B reports an warning when startup.m changes screen dpi closed defect minor GCE Toolbox version 3.9.4 Core toolbox

Reported by wsheldon, 3 years ago.

description

MATLAB R2015B now includes preferences for handling high DPI monitors for font graphics scaling, and a warning is generated when the command set(0,'ScreenPixelsPerInch?',96) is executed in startup.m.

Milestone: GCE Toolbox version 3.9.3 (13 matches)

Ticket Summary Status Type Priority Milestone Component
#196 Repeated metadata fields from the Data Submission Template are skipped on import closed defect major GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

When a text import file is created using the data_submission_template.xls spreadsheet, and multiple method or personnel entries are present, only the last entry is retained when the metadata are imported.

#199 Uneven time steps generated by pad_date_gaps() closed defect major GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

From Adam Kennedy:

I’m looking at an example where it appears that the padded data time stamp fall out of sync with the observations. See below.

"GSWS08_108",2013-11-06 13:50:00,161169,108,2086.0,40.0200,"",7.64,"",0.2040,"" "GSWS08_108",2013-11-06 13:55:00,161170,108,2086.0,40.0200,"",7.64,"",0.2040,"" "GSWS08_108",2013-11-06 14:00:00,161171,108,2086.0,40.0200,"",7.65,"",0.2040,"" "GSWS08_108",2013-11-06 14:05:00,161172,108,2086.0,40.0400,"",7.65,"",0.2040,"" "GSWS08_108",2013-11-06 14:10:00,161173,108,2086.0,40.0300,"",7.66,"",0.2040,"" "GSWS08_108",2013-11-06 14:15:00,161174,108,2086.0,40.0300,"",7.66,"",0.2030,"" "GSWS08_108",2013-11-06 14:20:00,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 14:25:00,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 14:30:00,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 14:35:00,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 14:40:00,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" ​ ​So it looks like it goes to NaN at 14:20. Then about a day or so in, the time stamp falls out of sync "GSWS08_108",2013-11-06 20:05:00,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 20:09:59,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 20:14:59,NaN,108,2086.0,NaN,"",NaN,"",NaN,"" "GSWS08_108",2013-11-06 20:19:59,NaN,108,2086.0,NaN,"",NaN,"",NaN,"""GSWS08_108",2013-11-06 20:24:59,NaN,108,2086.0,NaN,"",NaN,"",NaN,""

Has anyone seen this happen in their datasets that could possibly offer a solution or explanation?

#144 Provide pick list for custom Q/C flag functions for re-use closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 6 years ago.

description

Users should be able to save custom Q/C rule statements for re-use similarly to calculations for calculating missing values and adding calculated columns.

#193 Add support for calculated criteria in ui_querybuilder.m closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

The Query Builder GUI (ui_querybuilder.m) supports automatic calculation of numeric dates, but not any other expressions. Criteria should be evaluated for expressions for parity with the Data Editor (ui_datagrid.m).

#195 Add function for updating data based on query criteria closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

From Adam Kennedy: For snow data, when we verify no-snow periods, ie. May 30 – Nov 2, I’d like a feature that would set the observed no snow values to zero. Similar to this function below. I’m just curious if there is a better way to do this.

if ~isempty(data)

col = name2col(data,{'SWE'});

if ~isempty(col)

[data,msg] = num_replace(data, ...

{'SWE'}, ... %columns to update

'Date >=datenum(datebegin)& 'Date <=datenum(dateend)', ... %criteria to match

0, ... %new value to assign

0, ... %change log option

... %flag to assign for revised values ( for none)

);

end

end

#197 Parsing query containing isnull() results in dropdown error in ui_querybuilder.m closed defect minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

When a criteria expression containing the term isnull() is unparsed in gui/ui_querybuilder.m, it should resolve to = NaN for a numeric field. However, an invalid option is returned that results in an error rendering the drop-down menu and rendering the GUI inoperable.

#198 Add option to data editor to display only rows with flags assigned in specified columns closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

When reviewing Q/C results for data sets with many columns it would be useful to be able to filter by flagged records for only specified columns rather than any column. A pick list of columns could be generated when this option is selected with multiple selection enabled.

#200 Add support for reporting on filled missing values during a harvest closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

Currently, the only way to check for inserted records by pad_date_gaps.m in a data harvester function is to look for missing values in the final data set, but that does not distinguish between records added by padding and intrinsically missing values in the logger file. An option for getting a report of padded values would be useful.

#201 Harvest Dashboard doesn't support custom index file names or yearly intervals closed defect minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

The Harvest Dashboard web page generated by workflows/harvest_dashboard.m and the associated stylesheets does not support custom names for the index files, and does not support yearly intervals for plots. This limits use of this function for long-term data sets and makes it impossible to generate links to .html versions if multiple index pages are generated.

#202 Add support in pad_date_gaps.m for specifying string for filling text columns closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

Request from Dominik Schneider:

Does anyone have a use case where they are replacing missing strings with NaN instead of , as is the default behavior for date_pad_gaps()? For example, we have data columns that are time stamps of max wind speed that we'd like to fill with NaN instead of .

#203 Add option to ui_editor.m for specifying columns when cloning a data structure closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

From Adam Kennedy:

I'm looking for a function in the dataset editor to filter a data structure by column name. Is this something that is available on the GUI?

For example, let's say I load a 800 column GCE data structure into the dataset editor. I'd like to do two things: 0) clone the dataset 1) create a separate GCE data structure that only contains 4 of those 800 columns.

So yes, exclude or include selected columns when the data structure is cloned or after it's cloned.

#204 Revise add_datepartcols.m to support standard date/time column names closed defect minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

The function core/add_datepartcols.m only supports numeric indices or abbreviations for date/time components to include (e.g. 'yr','mo','dy','hr','mi','sc'). Full date/time component names should also be supported (i.e.g 'Year','Month','Day') for usability and parity with other functions.

#205 Quotes not added to string constants in ui_calculator.m closed enhancement minor GCE Toolbox version 3.9.3 Core toolbox

Reported by wsheldon, 4 years ago.

description

When a text string is added to an expression in ui_calculator.m (Add Calculated Column dialog), the string is not quoted resulting in a syntax error. Automatically adding quotes would simplify adding static text (e.g. station ids) or text parameters in function calls.

Milestone: GCE Toolbox version 3.9.2 (12 matches)

Ticket Summary Status Type Priority Milestone Component
#185 Error in plotdata.m when an all-NaN y column selected closed defect major GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

When a Y column contains no data (all NaN) an array indexing error results because the empty column is removed from ycols but num_ycols and the plot attribute arrays are not adjusted accordingly.

#190 Column titles defined in custom text import filter ignored when 1-line header present closed defect major GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

John Chamblee report problems with column titles being ignored when a custom import filter was generated by gui/ui_impfilter.m:

I’m attaching some fake data to see if you can give me some insight into a problem I’m having with the Toolbox during a project I’m working on. The reason I’m sending it is that, in general the text files go in very well using the automatic parser, but the custom import tool and the import filters are acting squirrely.

The package includes the following:

1. a reasonably filled out template-based text file

2. a variable-title-only, single line header text file that I created by copying data out of the spreadsheet these guys are using to collect data (don’t get me started) and pasted into a text editor.

3. the metadata template I’ve created using the full-header template text file

4. the import filter I created doing a custom import with the variable-title-only file.

5. The matlab file I was able to create by using automatic import of the header only file and then applying the template, but without using any import filters.

The problem I’m having is that the both text files go in fine with automatic import, but when I create an import filter for the using the single row header file and select the metadata template I created using the text file, *none* of the columns receive metadata. I’ve compared the headers pretty carefully and I can’t see any reason why this would be. Moreover, when I use the import filter I created, the field names get dropped and just the column order variables get used.

#192 Unneeded argument fields in gui/ui_import_filter not cleared when switch filters closed defect major GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

When switching between filters in gui/ui_import_filter, unneeded argument fields populated by other filters are not cleared, resulting in inappropriate argument options that do not match the selected function syntax. This could lead to syntax errors when the m-file function is called.

#181 Add min/mean/max below plots in workflows/harvest_dashboard.m closed enhancement minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 5 years ago.

description

From Adam Kennedy: Do you think that adding a Min/Mean/Max table below each of the dashboard plots would be worthwhile?

From a practical perspective, we’d get the min/max at each plot resolution. So we could say what the min air temp was last week, or the max ppt intensity last month, or what the mean snow depth sensor was reading last week under no snow conditions, etc.

Since there is some room on under the table, little reformatting would be required other than just adding fields and the associated calculations.

#182 Methods and instrumentation metadata lumped in eml2gce.m closed enhancement minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 5 years ago.

description

When EML metadata from fetch_eml_data.m are imported by eml2gce.m the methods and instruments content in s_raw.methods are lumped into big strings and not parsed into discrete method steps. This prevents gceds2eml.m from properly parsing methods and instruments into nested methodStep elements.

#183 Error in gceds2kml.m when an empty string is specified for col_balloon closed defect minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 5 years ago.

description

When and empty string is specified for the col_balloon argument in xml/gceds2kml.m a syntax error results.

#184 Add time conversions for Campbell logger min/max closed enhancement minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

Campbell Scientific Instruments logger files often contain time of max/min columns as integers in hhmm format or times in h:m format which are not compatible with MATLAB's date/time functions. Adding a conversion to/from these proprietary time formats and standard time formats would be useful.

#186 Empty subfields retained in metadata when importing USGS data closed defect minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

When USGS data are imported using fetch_usgs() or parse_usgs(), empty personnel subfields are present in addition to personnel fields in the metadata template.

#187 Need a way to generate import headers for imp_ascii.m from existing data sets closed enhancement minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

Currently the only practical way to generate tokenized headers for imp_ascii.m is to use the Metadata Submission Excel template. It would be useful if headers could be generated from existing data sets to simplify parsing of similar data. This would also provide a simple means of serializing metadata and data content for archiving data sets in text format, then loading them back into the toolbox reliably.

#188 Revising metadata styles removes EML display format closed defect minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

When changes to metadata styles are made using gui/ui_metastyles.m (Misc > Add/Edit Metadata Styles), the EML metadata style menus are removed when menus are updated. Same for the MATLAB file export submenus. The editor needs to be restarted to restore the EML options.

#189 Import filters database needs to support more than 6 user arguments closed enhancement minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

Several import functions, including imp_ascii and fetch_data_turbine.m, support more than 6 user arguments (i.e. after fn,pn). However, gui/ui_editfilters.m and the current imp_filters_default.mat only support 6 user arguments.

#191 Data editor (grid) should support dates and calculated expressions for data entry closed enhancement minor GCE Toolbox version 3.9.2 Core toolbox

Reported by wsheldon, 4 years ago.

description

The data editor (gui/ui_datagrid.m) should evaluate mathematical expressions and dates typed into numeric fields and automatically perform the calculations or call datenum, resp. to simplify data entry.

Milestone: GCE Toolbox version 3.9.1 (3 matches)

Ticket Summary Status Type Priority Milestone Component
#177 Invalid column selections in nullflags() and cullflags() result in an empty structure closed enhancement minor GCE Toolbox version 3.9.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

If the cols parameter is used in nullflags or cullflags, and no columns are matched, an empty array is returned. It would be better to return the original structure with a warning for consistency with other functions, and to prevent typos in workflows from breaking the entire processing pipeline.

#179 Add query option to harvest_webplots_xml.m to support plotting by factor closed enhancement minor GCE Toolbox version 3.9.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

For some data sets it would be useful to generate multiple plots for the same parameter(s), sub-setting the data by some other factor like treatment. This could be accommodated by extending harvest_webplots_xml.m to support a 'query' field.

#180 Errors in gceds2eml.m when multiple study description sections are present closed defect minor GCE Toolbox version 3.9.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

When multiple Study.Description.StudyElement?.Design sections are present in parsed metadata, gceds2eml.m throws an array dimension error when populating the output structure.

Milestone: GCE Toolbox version 3.9.0 (13 matches)

Ticket Summary Status Type Priority Milestone Component
#18 Add EML metadata export closed enhancement major GCE Toolbox version 3.9.0 Core toolbox

Reported by wmsheldon@earthlink.net, 9 years ago.

description

Adding support for EML metadata generation will broaden the utility of the toolbox for LTER and Ecoinformatics users.

#164 Inappropriate date recalculation in Campbell logger files containing date part columns closed defect major GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

Mary Martin reported a serious issue processing Campbell TOA5 files that contain date part columns: We have some campbell files that have a timestamp and also a Year/Month/Day/H/M/S column. The latter are different from the timestamp and indicate the initiation of a measurement. There is a lag between that and the write time, which is the TIMESTAMP. When I harvest these in GCE, these non-timestamp, date related columns are altered (see attached). It seems as though matlab must recognize these as data components and not just plain old variables, and is doing something with them. the strange thing is that they aren't changed to match the timestamp, so I end up with the timestamp, a decimal hour, and changes to the Hour/Minute columns, and none of the three match. What a mess. Is there something that I can do to preserve the values in our 'date component' columns (those columns after 'RECORD')? I'm not sure if I'm explaining this well, but in the attached you will see the header and a record from campbell, and then the output from GCE.

#166 Wrong symbol displayed in legend when flags plotted as red symbols in plotdata.m closed defect major GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

When the flags = 2 option (i.e. "plotted as red symbols on top of data values" )is specified in plotting/plotdata.m, the symbol of the flag is shown for the variable in the legend instead of the primary symbol.

#167 Large strings in metadata fields can hang GUI editbox controls closed defect major GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

When a metadata field contains a huge string (e.g. >1 million characters), MATLAB can hang for many minutes while initializing an editbox control on a GUI figure. This situation can occur when merging metadata from many individual files, or for fields like Data/Anomalies when concatenating files repeatedly in a harvesting scenario. Vulnerable GUI dialogs include gui/ui_editmetadata.m, gui/ui_visualqc.m and gui/ui_flagdefs.m.

#168 Bug in addflags.m may result in empty structure with no error message closed defect major GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

Under some circumstances the /core/addflags.m function may return an empty data structure without an error message. This bug is due to an error generating a padded character array of flags to match the dimensions of the existing assigned flags that results in an incorrect flag array size, invalidating the structure. The resultant invalid structure is returned as an empty array when addmeta() is called as the last step, therefore no error message is generated.

#170 The normalize_cols() function can return an invalid data structure closed defect major GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

The normalize_cols() function can return an invalid data structure when no flags are assigned to any of the columns being combined.

#176 Add supported subfields for contact information to metadata structure closed enhancement major GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

The meta2struct() function used for XML and EML metadata looks for a list of supported subfields in every contact information field in the metadata array (e.g. Name, Position, Organization, Address, Email, ...), but those fields are not included by default when new data structures are instantiated or metadata fields are added using the GUI metadata editor. Hence most users are unaware of this useful feature.

#162 Add option for grouping text terms when aggregating data sets closed enhancement minor GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

When aggregating data sets values in text columns are only counted. It would be useful to have an option to concatenate and enumerate unique text terms in each group to preserve information about coded values and other textual data when synthesizing data sets.

#163 Bug in GUI query builder when "= NaN" is specified for numeric column closed defect minor GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

When the criteria "= NaN' is specified in the query builder GUI, the expression ~isnull(...) is generated instead of isnull(...).

#169 Plotting functions should support an option to disable console display closed enhancement minor GCE Toolbox version 3.9.0 Core toolbox

Reported by sheldon@uga.edu, 5 years ago.

description

Plotting functions in /plotting should all support an option to disable console display when running workflows that operate unattended or in the background.

#172 Metadata in ASCII file header ignored if any unmapped attribute metadata present closed defect minor GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

When a text file generated from the GCE data submission template is imported using imp_ascii.m, and the file includes documentation metadata but one or more data types are mapped as 'u' (undefined) due to typo or omission, the doc metadata is overwritten when the file is evaluated for automatic typing.

#174 Add an option for instantiating flags for data/calc plus any other assigned flags closed enhancement minor GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

The flags2cols() function and related options in exp_ascii() and exp_matlab() support instantiating flags as columns for all columns, all data/calc columns or just columns with flags assigned. However, sometimes it is ideal to display flags for all data/calc columns *plus* any other columns regardless of type with flags assigned to avoid masking flag assignments on geographic coordinate or code columns, for example. An additional option combining the automatic and 'alldata' options would be useful.

#175 Add GUI dialog for exporting EML data packages closed enhancement minor GCE Toolbox version 3.9.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

A GUI dialog for calling /xml/gceds2eml.m to generate complete EML data packages would improve visibility and usability of that toolbox feature.

Milestone: GCE Toolbox version 3.8.1 (11 matches)

Ticket Summary Status Type Priority Milestone Component
#60 Support fine-grained statistics options for aggregation closed enhancement major GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 7 years ago.

description

The statistics calculated for aggregated data using aggr_stats.m and aggr_datetime.m are currently set coarsely using an enumerated argument, leading to auto-generating of unnecessary or confusing summary statistics (e.g. totals of rates, not just counts or sums). Support should be added for fine-grained lists of statistics for each attribute being summarized, and support for selecting stats should be added to ui_aggrstats.m and ui_aggrdatetime.m.

#154 Bug in ui_fetch_ncdc_ghcnd.m prevents entering certain start/end dates closed defect major GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

The date input validation is buggy in ui_fetch_ncdc_ghcnd.m, preventing entering some valid dates for filtering data records.

#134 fetch_ncdc_ghcnd needs code to delete temporary files closed defect minor GCE Toolbox version 3.8.1 Core toolbox

Reported by sheldon246, 6 years ago.

description

The function fetch_ncdc_ghcnd accepts an argument to delete temporary download files after successful import, which would be very useful, however there is no actual code that implements such functionality.

#153 Add support to addflags.m for registering new flag codes and definitions closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

It would be useful to be able to register new flag codes and definitions by calling addflags.m in a workflow, e.g. when running a novel algorithm for Q/C or to identify events, or to add flags as part of a multi-step operation.

#155 Add option to support interpolating data with strong diurnal pattern closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

The functions for interpolating missing values (core/interp_missing.m and core/interp_missing2.m) use all non-missing values in a data series for interpolation. When interpolating time-series data with a strong diurnal pattern, e.g. air temperature or salinity, this approach can lead to significant truncation or distortion of diurnal/semi-diurnal peaks in the data. A different algorithm is need to base interpolation only on data collected at the same time of day to preserve the underlying diurnal pattern when interpolating data prior to summarization.

#156 Add support for re-running data harvester workflow when no new data closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by Adam.Kennedy, 5 years ago.

description

I am looking for a function that will re-run dataharvester() .mat files after all auto-updates have been completed that will re-generate all data harvester output.

For example: the AND renames GCE data structures annually, so only the current year is processed. However, when manually QC’ing the previous year data, it is not possible to re-harvest the file – since the dataharvester() stops when no new data are present.

Suggestions:

1) Modify the dataharvester() (or add a switch) to process (create new plots, export all files, etc) the .mat regardless if there is no new data available?

2) Add a menu item that allows a user to process an existing .mat file according to its respective dataharvester().

#157 Revise harvest_dashboard.m to display variables with red/yellow flags at the top closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

It would be helpful if variables with status = yellow or red in the last hour or day were displayed automatically at the top of the harvest dashboard webpage to alert monitoring technicians.

#158 Revise unit_convert.m to support naming new column closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

The /core/unit_convert.m function supports adding the converted data as a new column, but does not include an option to specify the name. A name is automatically generated based on the original name with new units appended, after scrubbing unsupported spaces and characters. The function should include an option for specifying the new column name to simplify use in workflows.

#159 Harvest dashboard should only reflect data for maximum interval closed defect minor GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

The harvest dashboard plots and metrics should only reflect variable values up to the maximum reporting interval (e.g. day, month) for setting axis limits and reporting total missing and flagged values.

#160 Add support for Time Min/Max in aggregation tools closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by Adam.Kennedy, 5 years ago.

description

From Adam Kenedy: "I’m putting together a daily stats output and am looking for a gce function to add the time of Max to a data field. Is there a function for this?". Adding an option to calculate the times of Min/Max values in an aggregate would provide this functionality.

#161 Improve performance of Q/C flag display on large dataset plots closed enhancement minor GCE Toolbox version 3.8.1 Core toolbox

Reported by wsheldon, 5 years ago.

description

Displaying flags on plots of large data sets can be very slow due to the large number of text objects MATLAB has to manage. An option should be added for plotting flags as symbols to improve performance.

Milestone: GCE Toolbox version 3.8.0 (4 matches)

Ticket Summary Status Type Priority Milestone Component
#150 Remove all GCE-specific workflows and data from the toolbox SVN closed task major GCE Toolbox version 3.8.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

All GCE-LTER workflows and data files should be removed from the SVN trunk to complete the transition from a site-specific to a generic environmental data management tool. A single public distribution should be offered and the SVN and Trac should be reconfigured to allow public read. Site-specific workflows could be offered as separate downloads apart from the toolbox for sharing and reference.

#149 urlwrite error calling fetch_ncdc_ghcnd.m closed enhancement minor GCE Toolbox version 3.8.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

Reported by a toolbox user:

I am trying to use the 'GCE MATLAB toolbox' to extract GHCN daily rainfall data from the NCDC archive. I am specifically using the function 'fetch_ncdc_ghcnd' with the following syntax (as an example):

[s, msg, s_raw] = fetch_ncdc_ghcnd('USC00097808', 'NCDC_GHCND', [], [], 1, [], [], 1, ' ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/');

I have downloaded the toolbox in my directory and run the 'startup' file. However, I am getting the following error message:

Error using urlreadwrite>getFileOutputStream (line 224) Could not open output file "C:\Users\Fitsum Woldemeskel\Desktop".

Error in urlreadwrite (line 64)

[file,outputStream] = getFileOutputStream(inputs.filename);

Error in urlwrite (line 38) [f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:});

Error in fetch_ncdc_ghcnd (line 123)

[fqfn,status] = urlwrite([baseurl,'all/',stationid,'.dly'],[pn_temp,filesep,fn_temp]);

I might have made simple mistake that i could not figure out. Could you help me to identify the reason for the above error ?

#151 Add support for new MATLAB R2013b table objects closed enhancement minor GCE Toolbox version 3.8.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

MATLAB R2013b adds a new 'table' object that is similar in concept to a GCE Data Structure, with named variables as columns and metadata properties for variable names, units, descriptions and a title. Support should be added for exporting GCE Data Structures to table objects to support new table-oriented functions in future versions of MATLAB

#152 ClimDB variable mappings not saved by ui_expclimdb.m closed enhancement minor GCE Toolbox version 3.8.0 Core toolbox

Reported by wsheldon, 5 years ago.

description

Changes made to ClimDB variable mappings in ui_expclimdb.m are not saved after returning revisions to the dialog.

Milestone: GCE Toolbox version 3.7.1 (11 matches)

Ticket Summary Status Type Priority Milestone Component
#137 bug in pad_date_gaps closed defect critical GCE Toolbox version 3.7.1 Core toolbox

Reported by wcsheld, 6 years ago.

description

On line 307 in pad_date_gaps.m there is a missing underscore in a reference to the str_flags variable, which throws errors upon execution

#139 All Data Turbine sources are not correctly displayed by ui_fetch_dataturbine.m closed enhancement major GCE Toolbox version 3.7.1 Core toolbox

Reported by csebranek, 6 years ago.

description

From Chad Sebranek:

"I installed version 3.7, put the toolkit and your functions into /extensions (the ones you gave me from your thumb drive), added the odm stuff to /demo and removed all paths, then issued the startup command to make sure all paths were added. However, still having issues. Can you see all the sources from the Fetch Data Turbine GUI?

In the Fetch Data Turbine GUI, the problem is only TroutBog?, _Metrics and _Log come up as sources. I can't seem to fetch other data. I can harvest it from the command line, though. "

#138 Add tool for visually choosing drift offset in ui_correct_drift.m closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by dosc3612, 6 years ago.

description

From Dominik Schneider (NWT): "I was looking at using the sensor drift tool but was wondering if a tool existed that could pick and match the endpoints of the discontinuity to calculate the constant offset?"

#140 Add support for splitting CSI array data into separate data structures closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

The function csi2struct.mat parses multiple arrays from a Campbell Scientific array-based data logger but saves them all as named variables in a single .mat file. It would be helpful to split these out into individual data structure files to support using multi_merge.m and other batch processing tools.

#141 Add support for synchronizing Q/C criteria changes across multiple templates closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by Adam.Kennedy, 6 years ago.

description

From Adam Kennedy: "Is there a clever trick to split away the QC rules from the metadata template? I have one metadata template per site, 20 sites, the QC rules are the same for each variable at all sites. When I want to tweak a QC rule, I have to replicate the effort across metadata templates, instead of one QC template. Anyway, not a priority, just wondering if there has been discussion on this. It’s tricky keeping all the QC rules consistent across sites for a given variable."

#142 Suggestion for menus for toolbox export to structure closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by jsheldon@uga.edu, 6 years ago.

description

Under the menu File:Export Data: Matlab File:(submenus), each of the submenus has one further level of submenu with one option: No Metadata. It's already a long menu tree, and that last No Metadata option is not needed since there are no alternatives. Suggest you remove the No Metadata menu levels.

#143 option to name exported data structure closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by jsheldon@uga.edu, 6 years ago.

description

When exporting a dataset as a Matlab structure using File: Export Data: Matlab File: Struct Variable, it would be nice to have an opportunity to rename the struct something other than the default 'data'. If they are all called 'data' then you can't work with more than one at once in the Matlab workspace, so you have to rename and resave all the files anyway.

#145 Muilt-line entries passed to add_harvest_log.m generate errors in ui_datagrid.m closed defect minor GCE Toolbox version 3.7.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

When a multi-line character array is passed to core/add_harvest_log.m as an entry to log, it is inserted as-is into a GCE Data Structure field. This causes errors in gui/ui_datagrid.m and potentially other functions.

#146 Add feature for abstracting system paths in workflows to facilitate use on multiple systems closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

From Adam Kennedy (AND):

"I want to pull out all file path specific code form the data harvester workflow so that I can move the harvesters back and forth between servers. I started doing it with some of the path names, but seemed to run into glitches with some files.

Can you advise on this? Would creating a path_config.m file that is called on every workflow script set me up for this? I would have one path_config.m per installation."

#147 The flag definition editor is not enabled when editing metadata templates closed defect minor GCE Toolbox version 3.7.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

When the "Edit All Metadata" option is selected in the Metadata Template Editor application (ui_template.m), the 'Metadata > Add/Update Q/C Flag Definitions, Data Anomalies' menu is not available in the Data Structure Editor window, making it hard to revise Q/C flag definitions. This option should be enabled.

#148 Dataset editor doesn't support padding date gaps in high frequency data closed enhancement minor GCE Toolbox version 3.7.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

The dataset editor (gui/ui_editor.m) uses minimum interval criteria of 1 min when calling pad_date_gaps.m, so there is no option for padding gaps in high frequency data (10-20Hz). A high frequency option should be added that calls pad_date_gaps.m with a suitable min_interval argument.

Milestone: GCE Toolbox version 3.7 (11 matches)

Ticket Summary Status Type Priority Milestone Component
#82 Add EML standard units to unit conversions database closed task major GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

Few of the standard EML units are in the unit conversion database, so it's not convenient to perform unit conversions when EML-described data tables are imported. Providing an EML-to-conventional mapping function like Metric-English conversions would also be useful.

#102 Support evaluating EML metadata and choosing objects to download closed enhancement major GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

The current toolbox functions and stylesheets for parsing EML and loading data blindly download all MATLAB-compatible data objects. This is fine for small data sets, but problematic for really large ones. There's also no reason non-MATLAB-parsable data can't be downloaded for use in other programs. A second stylesheet and associated functions/GUI should be developed that first parses the EML to display info about all downloadable objects then fetches and parses the data as a separate step.

#133 The output of sql2struct.m varies with database toolbox preference settings closed defect major GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

The /database/sql2struct.m function returns different structure layouts depending on which database toolbox 'DataReturnFormat?' option is defined using setdbprefs. When the 'structure' option is specified, sql2struct.m returns a scalar struct with each field containing an array of column values. However, when the 'cellarray' option is specified a multi-dimensional struct is returned with each database row in separate dimension with scalar values in each field, as documented in the function help.

For example:

'structure' option:

s =

Site: {655x1 cell}

Location: {655x1 cell}

Type: {655x1 cell}

TransectDistance?: {655x1 cell}

Description: {655x1 cell}

Lon: [655x1 double] Lat: [655x1 double]

'cellarray 'option:

s =

655x1 struct array with fields:

Site Location Type TransectDistance? Description Lon Lat

These struct layouts are very different and require different syntax when extracting data values.

#135 Multi-line text in dataset editor description field breaks ui_datagrid.m closed defect major GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

If carriage returns are entered into the multi-line Description edit box in the Dataset Editor GUI (ui_editor.m), a multi-line character array results that causes errors in other toolbox applications. For example, trying to open the data set using View/Edit Data (ui_datagrid.m) throws an error because the descriptions are added as a toolbox for column labels, and multi-line character arrays are not supported.

#63 Add harvest timer management console closed enhancement minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 7 years ago.

description

Tools for managing harvest timers are incomplete, because timers can be parameterized by editing harvest_timers.mat and the started from the command line with start_harvesters.m, but there are no functions for monitoring and starting/stopping running timers. A GUI should be added to call start_harvesters.m and to enable viewing, starting and stopping running timers.

#64 Add harvester log function to support dashboard development closed enhancement minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 7 years ago.

description

Developing a harvester log function and data spec would enable MATLAB and web dashboard development to aid in monitoring the status of harvester operations. Each harvest script can call the function to add a log record with status info and links to plots (if applicable), and the function can generate MATLAB and XML output that can be used for dashboard development using MATLAB or XSLT.

#110 Check figure close event handling to avoid Mac OS/X-MATLAB bug closed task minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

Dominik Schneider reported an issue with closing figure windows in MATLAB running Mac OS/X that occasionally prevents him from starting ui_editor.m:

"There are a number of MATLAB bugs on OSX that are known and longstanding. It includes poor figure handling. The issue I was having is related to a general problem I have had working in matlab and creating multiple figures. I've scoured the internet and talked to a few folks here, one of whom talked to math works tech support, and the consensus is that all figure windows should be closed with close gcf or close all or close <figure handle> instead of closing the window through the OSX window system."

The figure close event handling in toolbox GUIs should be reviewed to mitigate this issue if possible, and it should be noted in the user guide.

#130 Add option to pad_date_gaps.m to flag inserted empty values closed enhancement minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

When pad_date_gaps.m is called to fill in records to create a monotonic time series, the missing values that are inserted cannot be distinguished from missing values present in the raw data file. This may be an important factor for some QA/QC processing or data documentation, so an option should be included to assign a flag to empty values that are inserted by this function.

#131 Data returned from the Visual QC tool for grouped plots are sorted by grouping variable closed defect minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

When a grouped plot is generated using Tools > Plotting > 2D Line/Symbol (single Y, split by groups) and the Visual QC tool is used to revise flagged values, the data set returned to the Dataset Editor is still sorted by the grouping value. This can lead to problems if the data are exported or plotted without being re-sorted to remove the grouping.

#132 Need a function to omit numeric missing value codes from Q/C rule checks closed enhancement minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

If numeric missing value codes are present in a data set (e.g. -9999), it is difficult to write Q/C rules containing statistical checks. A function similar to no_nan.m should be added to support stripping numeric missing values prior to calculations.

#136 Add support for flagging aggregated data based on consecutive missing values closed enhancement minor GCE Toolbox version 3.7 Core toolbox

Reported by wsheldon, 6 years ago.

description

The aggregated statistics functions (aggr_data.m, aggr_datetime.m, etc) support flagging based on total number or percentage of missing values in an aggregate, but NWS and other monitoring programs also flag daily summaries based on the maximum number of consecutive missing values. It would be useful to add this option to the data aggregation functions in the GCE Data Toolbox.

Milestone: GCE Toolbox version 3.6 (12 matches)

Ticket Summary Status Type Priority Milestone Component
#2 Revise geographic data structures to support user editing closed enhancement major GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 9 years ago.

description

Currently geographic data structures in the toolbox mirror the GCE_Metabase data tables and are not user editable in the toolbox GUIs. Point locations data (gce_locations.mat) should be in data structure format, and a GUI editor should be created for updating polygons (gce_coords*.mat). Additionally, GCE branding should be removed from the editor menus pertaining to geographic coordinate lookups.

#119 Distributions should omit critical *.mat files to avoid overwriting localized versions closed defect major GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

Including imp_templates.mat, imp_filters.mat and unit_convert.mat in the /userdata directory of full distributions makes it too easy for users to accidentally overwrite their localized versions, potentially losing critical work. These files should be removed and replaced with *_default.mat versions, and the corresponding toolbox functions should copy and rename these defaults if a localized version is not available.

#120 Lookup joins on text columns are very slow closed defect major GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

Performing a lookup join with text key columns is very slow taking many minutes if there are >1000 unique values in the key column. Joins should be optimized to speed up these types of operations.

#124 Only US COOP stations are listed in the NOAA NCDC GHCN dialog closed enhancement major GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

Only United State Cooperative Observer (COOP) stations are listed in the NOAA NCDC GHCN database included with the GCE Data Toolbox (userdata/ncdc_stations.mat). Data for over 87,000 GHCN stations are available from the NCDC site, and these should all be listed in the form to provide access to all this world-wide data.

#125 Entering carriage returns in the Visual Q/C tool anomalies field breaks metadata closed enhancement major GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

Hard returns in anomalies entries made in the Visual Q/C tool (gui/ui_visualqc.mat) result in multi-line character arrays in metadata value fields, which generate errors when the metadata are rendered as text or opened in the metadata editor. Multi-line strings should be converted to character arrays before being saved to metadata, as in gui/ui_flagdefs.m.

#128 Delete option removes combined column in concat_cols.m closed defect major GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

When running core/concat_cols.m with deleteoption=1 to remove the original columns after concatenation, the new column is omitted as well. It is also not possible to specify units and descriptions of the combined column when calling this function, requiring additional steps in a workflow.

#111 Set up separate directory for settings so /userdata just contains user files closed task minor GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

A number of toolbox settings files (USGS and NOAA station lists, default maps, GUI preferences) are stored in /userdata along with templates and import filters. Setting up a separate /settings or equivalent directory would make the distinction between files easier for users to understand when migrating content between toolbox installations.

#121 The trimstr.m function is slow with large cell arrays of strings closed defect minor GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

The support/trimstr.m function is much slower that strtrim.m available in recent versions of matlab when used with large cell arrays of strings. The newer function should be used when available to improve performance.

#122 Add function to compress text columns by removing leading/trailing whitespace closed enhancement minor GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

Sometimes leading or trailing whitespace may be present when text columns are imported. A function should be added for compressing all or selected text columns, and a menu item added to the dataset editor's Edit menu.

#123 Ampersands are not escaped in titles and navigation in harvest_datapages_xml.m closed enhancement minor GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

From Adam Kennedy:

A user can’t use an ‘&’ in any of the harvest_info or harvest_plot_info nav or title strings. The XML parser chokes. You probably already knew this, but I’m writing this just in case you didn’t.

This:

%station-specific navigation label and url to append to nav_base nav = [nav_base, ...

{'WS1 Met & Flux',' http://hja.fsl.orst.edu/weather/GCE-HJA/LNDB_TEST/PORTAL/WS1MET/data/'}];

#127 Add date format option to ASCII export form closed enhancement minor GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

When exporting data sets to text formats, MATLAB numeric dates should be converted to a more appropriate date string. It would be convenient to add a date format option to the ASCII export dialog (ui_exportasc.m) to support this option, so users do not have to temporarily convert dates prior to export.

#129 Support exporting data as standard MATLAB struct variables closed enhancement minor GCE Toolbox version 3.6 Core toolbox

Reported by wsheldon, 6 years ago.

description

Support should be added for exporting data sets as standard MATLAB struct variables in addition to matrices and individual arrays, for parity with import options. This would also simplify saving geographic data structures (geo_locations.mat) and similar settings files after editing.

Milestone: GCE Toolbox version 3.5.1 (8 matches)

Ticket Summary Status Type Priority Milestone Component
#114 The gce2odm.m workflow function omits columns from the output closed defect critical GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

The gce2odm.m workflow for re-factoring GCE Data Structures for inserting into a CUAHSI ODM database fails to include data from the last several columns.

#118 Errors occur saving changes to English<>Metric unit conversion mappings closed defect critical GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

When saving changes to English<>Metric unit conversion mappings, the error 'Warning - Could not return data to original editor' occurs and changes are not saved.

#113 Large database inserts with gce_fastinsert.m can cause Java heap memory errors closed defect major GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

If very large data sets are inserted into a database using gce_fastinert.m (or gce_insert.m), Java heap memory errors can result. There should be an option to insert rows in batches to lower the memory requirements for inserting large data tables.

#117 Code definitions defined in the dataset editor are not saved to the metadata closed defect major GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

When code definitions are edited in the Dataset Editor (ui_editor.m), the changes are not saved to the metadata.

#101 Add support for uploading data from GCE structures to databases closed enhancement minor GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

Functions for uploading data from GCE Data Structure columns to relational databases should be added for parity with sql2gceds.m and sql2struct.m to support inter-operability between the toolbox and relational databases.

#112 M-file generator in ui_import_filter.m does not add unit string closed defect minor GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

The custom ascii file import dialog (ui_imp_filter.m) does not include the units string in the generated m-file, relying on metadata templates. Extra code should be included to add units when a template is not specified.

#115 Return Data in Metadata Template Editor causes error there is a deleted Column entry closed defect minor GCE Toolbox version 3.5.1 Core toolbox

Reported by Dominik, 6 years ago.

description

Open a metadata template with edit all metadata. Add a column, delete this column. Hitting Return Data will cause an error: 'Empty structure can not be returned'. Work around is to fill out information for the undesired column, return data, use 'Edit Attributes', select the row that contains the bad column and use Remove Selected Row.

#116 Add function to generate an HTML table from a data structure closed enhancement minor GCE Toolbox version 3.5.1 Core toolbox

Reported by wsheldon, 6 years ago.

description

It would be useful to generate an HTML table for displaying harvested data on the web, or as part of a dashboard application.

Milestone: GCE Toolbox version 3.5 (26 matches)

Ticket Summary Status Type Priority Milestone Component
#13 Add tutorial to documentation closed task critical GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 9 years ago.

description

A tutorial or walk-through of common toolbox operations with screen-shots would make it easier for new toolbox users to get started. This could be added to the documentation or included as a separate PDF or video file. A sample data set used for the tutorial should also be included in the public distribution.

#85 Add support for creating columns from lookup lists in another data set closed enhancement major GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The joindata.m function requires key-only matches to prevent data duplication, so it cannot be used for filling in values from lookup lists (e.g. adding information from log files or expanding codes). A new function for adding columns by looking up values in another data set that supports 1:many relationships should be developed.

#86 Add a function for splitting a text column to multiple columns closed enhancement major GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

A function for splitting text columns on a delimiter character to create multiple columns should be added for parity with concat_cols.m. This would allow columns that contain multiple treatment codes to be separated into individual treatment factors, as reported by Kristin Vanderbilt (SEV-LTER).

#103 Log all changes to attribute metadata in processing history closed enhancement major GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

Changes made to attribute metadata fields in the dataset editor (ui_editor.m) other than column names are not individually logged in the structure processing history. All attribute metadata changes (other than descriptions) should be logged in detail to support evaluating the specific changes that were made.

#105 Applying a metadata template fails if any column datatypes are incompatible closed defect major GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

When apply_template.m is used to add metadata to a data structure, an empty structure and error message will be returned if there are any data type mismatches between the template and existing data columns. This prevents applying templates after date string/numeric inter-conversions or other column transformations. Column datatype mismatches should be handled like unit differences, where updates are skipped and a warning message returned.

#56 Add GUI dialog for coallesce_cols.m closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

A GUI dialog should be created for coallesce_cols.m to provide finer control of column ordering. This dialog should also be grouped with ui_interp_missing.m and a new dialog for calc_missing_vals.m to provide multiple options for filling in missing values in a data column.

#62 Request feature to specify array of column names closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by jsheldon, 7 years ago.

description

When a matrix is imported from the Matlab workspace, it is automatically split into columns and each column is automatically named. It would be useful to be able to specify another variable (a cell array of strings) that could be used as column names.

#71 Add support for managing Tools/Specialized function items like import filters closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

The data editor GUI ui_editor.m contains a few GCE-specific specialty function calls in the Tools menu. Specialty functions should be managed using configuration files like import filters so GCE specialized functions are not hard-coded in the menus and users can add their own workflows

#74 Add multi-select to ui_normalizecols.m and ui_splitseries.m closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

The GUI tools for normalizing (ui_normalizecols.m) and splitting compound (ui_splitseries.m) data columns only support single-column selection. For data sets with many columns this presents a usability issue (reported by D. Blankman). Multi-select support should be added.

#83 Best way to keep local version of GCE Toolbox up to date closed task minor GCE Toolbox version 3.5 Core toolbox

Reported by Adam.Kennedy, 6 years ago.

description

Do we continue to update our .zip files or is there a way to update just the new/changed files on the SVN to our local Matlab directory?

#84 Add support for importing selective fields of a struct closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The imp_struct.m function imports all fields of a structure so all must have matching dimensions. Some structures include a mix of data arrays and metadata, so support should be added for choosing which fields to import.

#90 Rename fetch_nerr_data.m and parse_nerr_data.m closed task minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The functions fetch_nerr_data.m and parse_nerr_data.m are actually generic for any data retrieved from the NOAA Hydrometeorological Automated Data System ( http://amazon.nws.noaa.gov/hads/interactiveDisplays/displays.html). These functions should be renamed to fetch_noaa_hads.m and parse_noaa_hads.m to avoid confusion.

#91 csi2struct date/time column needs generalization closed defect minor GCE Toolbox version 3.5 Core toolbox

Reported by Dominik Schneider, 6 years ago.

description

Just a reminder from the workshop, csi2struct should be made more robust to allow various field names for the date/time column header in the old array-based data files.

#92 Add full-range plot option to harvest_webplots_xml.m closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The full-range plot generated by harvest_webplots_xml.m prior to rendering specified time interval plots is not saved or indexed. An option should be provided for including this plot along with the partial plots.

#93 Provide means to import titles and abstracts in data harvesters closed defect minor GCE Toolbox version 3.5 Core toolbox

Reported by jchamblee, 6 years ago.

description

The current version of imp_campbell_toa5 assigns standard text to all files imported as part of a data harvest routine. This could be remedied by making a coy of the imp_campbell_toa5 file and rewriting the hard coded abstract and title script, but, given that many data harvester scripts rely on Metadata templates, a possible enhancement might be to look for titles and abstracts in metadata templates and either replace or append harvest text from the imp_campbell_toa5 file to the text provided by the abstract.

#94 Data editor should allow display of flags as columns on the fly closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The data editor (ui_datagrid.m) displays values assigned flags highlighted in red and displays the flag(s) as a tooltip. Some users may find it easier to review and edit flags if they were instantiated as columns in the editor similarly to the 'Manual QC' button on the data set editor (ui_editor.m). Being able to toggle between the current behavior (highlighted cells) and flags as columns would be a nice feature.

#95 Instantiating flags as columns mulitple times creates multiple flag columns closed defect minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

When q/c flags are instantiated as data columns in the data set editor (ui_editor.m) multiple times using 'Edit > Q/C Flag Functions > Convert Q/C Flags to Text Columns > ...', multiple flag columns are created with the same time but potentially different contents. This is confusing and potentially problematic. This operation should overwrite prior flag columns with user prompting, or should fail because flag columns already exist and issue an error message.

#96 Add more explicit options for date/time format conversion to ui_editor.m closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The date/time inter-conversion functions in the dataset editor ('ui_editor.m') determine date/time columns to use by metadata inspection and column name conventions, so they cannot reliably be used to reformat date/time columns for all data sets particularly if multiple date/time columns are present. A more specific option should be provided to support format conversion for selected columns. Additionally, conversion of dates to time-only formats should be supported to remove date portions if desired (requested by NWT for time of maximal value columns in CSI data).

#97 Add QA/QC function for flagging based on accumulation over time closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by akennedy, 6 years ago.

description

From Adam Kennedy: "I’m looking for a way to flag snow depth (or precip) values when the total accumulation during the previous hour, day, month exceeds some expected range."

A flag_accumulation.m function could be added to address this use case, with a window size based on number of records back (like flag_valuechange.m) or calendar interval.

#98 minor updates overwrites userdata closed defect minor GCE Toolbox version 3.5 Core toolbox

Reported by Dominik, 6 years ago.

description

I installed the .4.2 beta patch and the directions led me to overwrite my existing userdata folder. I recovered it but patches probably shouldn't contain a userdata folder so as not to overwrite it as your instructions for installation say to allow.

#99 Add support for custom WWW import filters closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The custom import filters registered in imp_filters.mat using Tools > Add/Edit Import Filters require a filemask and file prompt, which precludes registering import filters that retrieve data over the WWW or other network protocols. Adding entries to the list of supported WWW data sources requires editing gui/ui_editor.m because they are hard-coded links to GUI forms. An option should be provided for user-registration of WWW-based import filters so links to NOAA and USGS stations can be included in menus.

#100 Add dedicated GUI for defining and editing import filters closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

The 'Add/Edit Import Filters' command in the data set editor simply opens the filter database in an instance of the data editor (ui_datagrid.m) for revision. However, this requires that users know the exact syntax of mfiles to properly fill out Argument1, Argument2, etc. A dialog that creates meaningful argument labels and displays function help like ui_batch_import.m would be more usable.

#104 Add date versioning to metadata templates closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

No version information is stored for metadata templates, so it is not possible to determine whether the same template content was applied to data sets imported at different times. Adding a 'date' field to the templates structure in imp_templates.mat would allow logging a revision date in the processing history when a template is applied.

#107 Add support for importing data from Data Turbine servers closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

As part of an NSF SI2 project at SDSC, support is being improved for connecting to Data Turbine using MATLAB (DTMatlabTK library). This software should be leveraged to support importing data from Data Turbine sources into the GCE Data Toolbox to support data QA/QC, metadata generation and archiving.

#108 Add support for inserting data from GCE structures into relational databases closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

Data can be imported from relational databases via sql2struct.m and sql2gceds.m, but no parallel functions are provided from inserting data from GCE Data Structures back into a relational database.

#109 Support revising numeric data values based on values in other columns closed enhancement minor GCE Toolbox version 3.5 Core toolbox

Reported by wsheldon, 6 years ago.

description

In some sensor network scenarios, data values need to be revised based on readings from other sensors (e.g. setting all light sensor values to 0 when a master sensor reads below a threshold value). The current num_replace.m function only supports replacing values based on exact matches to a scalar value so it cannot be used for this purpose.

Milestone: GCE Toolbox version 3.4 (17 matches)

Ticket Summary Status Type Priority Milestone Component
#66 Add post-harvest email alert function closed enhancement major GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

A function that sends email alerts when harvests don't retrieve new data or too many flagged/missing values are present would be very useful for production data harvesting workflows.

#67 Add generalized functions for generating xml data and plot index pages closed enhancement major GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The GCE portal_datapages_xml.m and portal_webplots_xml.m functions require lots of arguments (e.g. xml file names, starting and ending dates, etc) that require lots of code in harvester workflows or maintaining scripts to automate post-harvest processing. Generalizing these functions to use configuration profiles and derive file names and dates from the source data file would simplify development of harvest scripts and enable configuration information for plots to be stored in 1 place to simplify adding new stations.

#70 Remove GCE-specific code from parse_seabird.m closed defect major GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The SBE import filter parse_seabird.m is generic, but includes some GCE dependencies (cruise ids, calls to parse_cruise_log.m, etc) that are not appropriate for general use. Removing GCE-specific code and moving it to a separate workflow (e.g. parse_cruise_log.m) would fix this issue.

#72 Fix issue preventing aggregation of hourly data by ui_aggr_datetime.m closed defect major GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

From Richard Cary: " I want to determine the daily max and min temperature values for data from a site with hourly data. I tried to use Tools > Statistics > Statistics for Date Time Intervals, but it is only giving me the option of yearly statistics. The odd thing is that if I run the Statistics for Moving Date Interval tool on the data, I can create daily statistics from the new dataset using the “Statistics for Date Time Intervals” tool. Any idea why I would be limited to only yearly statistics on the Statistics for Date Time Intervals tool?"

#73 Add dedicated GUI dialog for impoting EML data tables closed enhancement major GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The GUI data editor (ui_editor.m) just calls the generic ui_text_prompt.m dialog to prompt for an EML URL which isn't very user-friendly. A dedicated dialog should be developed to support canned URL patterns for Metacat, PASTA and GCE as well as custom URLs.

#55 Add GUI dialog for calc_missing_vals.m closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The new calc_missing_vals.m function would benefit from a GUI dialog for column selection, equation entry and flag definitions to parallel ui_interp_missing.m.

#58 Extend EML metadata importing in fetch_eml_data.m closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The fetch_eml_data.m function only parses select elements from an EML document beyond the entity and attribute metadata (title, abstract, codes, creator). A more complete metadata structure should be defined to store all general content for populating a GCE data structure using eml2gce.m.

#59 Add support for importing/merging metadata templates closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

All metadata templates are stored in one file per toolbox instance (imp_templates.mat), but as users start upgrading and sharing more templates it would be useful to support importing or merging templates stored in multiple copies of imp_templates.mat. This should be added to ui_template.m as a new button or menu option.

#65 Clarify date conversion menu options in ui_editor closed defect minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The menu options for calculating or converting date formats in ui_editor.m can be confusing to new users. These options should be simplified for clarity, adding redundant menu items for functions with multiple functionality like add_datecol.m (i.e. calculate date from date components or convert format of existing date column).

#69 Add support for ODM-style Parameter-Value pairs to normalize_cols.m closed defect minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The normalize_cols.m function can generate parameter-name, parameter-value pairs from standard tabular data sets, but merging columns is restricted to columns with matching data types and units. An option should be provided to automatically cast columns to a specified datatype (e.g. floating-point) and precision and to ignore unit differences to support exporting to skinny data models like CUASI ODM where units and scale are associated with the parameter id.

#75 Improve support for importing structures and non-double numeric arrays closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The imp_matlab.m function excludes structures and fails on numeric arrays that are not type 'double'. This function should call imp_struct.m to import structure fields and support other numeric types (e.g. uint8, uint16). This would be particularly useful for importing structures returned from the database toolbox.

#76 Add support for defining multi-column criteria to ui_qccriteria.m closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The Q/C criteria GUI (ui_qccriteria.m) only supports form-based definition of limit-check criteria and custom flag function criteria. Form support should be extended to include defining multiple-column criteria as well.

#77 Add support to ui_editor.m for updating metadata templates closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

Metadata can be exported from ui_editor.m to create a new template, but existing templates cannot be updated the same way. An option to update attribute metadata, documentation metadata or both in a template from an open data set should be added for completeness.

#78 Separate air saturation and percent saturation in o2_saturation.m closed defect minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

Reported by Joan Sheldon: The o2_saturation.m function includes code to calculate air saturation in mg/l or ml/l, but the function cannot be called without oxygen concentration to return only air saturation at a given T and S. This function should be split so either property can be returned separately depending on needs.

#79 Add command line function to update dates in titles closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 7 years ago.

description

The GUI title editor ui_title.m includes code to add or update date ranges in data set titles. A command-line version would allow this functionality to be used in scripted workflows.

#80 Add date format option to ascii export functions closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 6 years ago.

description

It would be useful to have an option for exp_ascii.m and ui_expascii.m to specify a date format for matlab serial dates, similar to the option in gce_distribfiles.m.

#81 Add plot option for picking date/time range in ui_correct_drift.m closed enhancement minor GCE Toolbox version 3.4 Core toolbox

Reported by wsheldon, 6 years ago.

description

The "Correct Drift" dialog requires starting and ending date/time values to specify the data range to correct, but filling in these values is difficult without seeing the data on a plot. Adding a plot tool with the ability to click on starting and ending data values would simplify using this tool.

Milestone: GCE Toolbox version 3.3.6 (4 matches)

Ticket Summary Status Type Priority Milestone Component
#50 Loading new dataset in ui_editor.m doesn't reset undo cache closed defect critical GCE Toolbox version 3.3.6 Core toolbox

Reported by wsheldon, 7 years ago.

description

When a new data set is loaded into ui_editor.m, the undo cache structure isn't reset so selecting undo loads the prior data set.

#54 Add support for batch export to ui_exportasc.m closed enhancement minor GCE Toolbox version 3.3.6 Core toolbox

Reported by wsheldon, 7 years ago.

description

Batch exporting data structures is currently supported in the GUI search engine (ui_search_data.m), but it would also be useful to process all files in a directory without first indexing them. Expanding the text file export dialog ui_exportasc.m to support batch exporting would be useful.

#57 Restore support for single-line header in imp_ascii.m closed defect minor GCE Toolbox version 3.3.6 Core toolbox

Reported by wsheldon, 7 years ago.

description

Ascii files with a single-line header fail to parse when the first column contains string values because the header length cannot be reliably determined. Previous versions of imp_ascii.m allowed for this pattern, but the latest re-write to support textscan-based parsing apparently broke the behavior.

#61 Prompt for saving import filter by default after custom parsing of text files closed enhancement minor GCE Toolbox version 3.3.6 Core toolbox

Reported by jsheldon, 7 years ago.

description

After defining custom text parsing options the dialog closes automatically on success, so if the user hasn't selected the option to save a custom import filter when opening the dialog they have to repeat the entire process. The save option should be checked by default, then the user has 2 options for opting out of saving a new filter (unchecking the box and cancelling the m-file save).

Milestone: GCE Toolbox version 3.3.5 (6 matches)

Ticket Summary Status Type Priority Milestone Component
#46 Add support for HTTPS for LTER NIS web services closed enhancement critical GCE Toolbox version 3.3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

LTER NIS web services require HTTPS-based authentication, but MATLAB's native urlread/urlwrite only support HTTP and FTP. An open source network library (cURL) needs to be wrapped to support interaction with the NIS via WS interfaces.

#17 Add EML parsing and data download closed enhancement major GCE Toolbox version 3.3.5 Core toolbox

Reported by wmsheldon@earthlink.net, 9 years ago.

description

Adding support for parsing metadata and downloading data tables described using EML will allow leveraging of the GCE Data Toolbox for a broader array of LTER data sets.

#52 Add explicit delimiter support to ui_importfilter.m closed defect major GCE Toolbox version 3.3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

The ui_importfilter.m dialog for custom text file parsing does not include a field for specifying the field delimiter, but failing to provide a delimiter to the new textscan-based parser in imp_ascii.m can result in parsing failures (e.g. all NaN for numeric fields).

#53 Add GUI dialog for running batch_import.m closed enhancement major GCE Toolbox version 3.3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

Batch processing raw data files requires running batch_import.m from the command line. All other parts of the parsing process can be performed from GUI dialogs, so it would be helpful to run batch importing from the GUI as well for parity.

#48 Rewrite imp_ascii.m to use textscan.m instead of textread.m closed defect minor GCE Toolbox version 3.3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

The textread.m function is now deprecated in MATLAB, and this functionality is now provided by textscan.m. In addition, textscan supports an array of user-specified missing value codes (emptyValue argument), obviating the need to rewrite text files using imp_filter.m in many cases which should dramatically speed parsing. The imp_ascii.m and related functions should be rewritten to support textscan when present (i.e. MATLAB 7+).

#49 Revise calls to imp_filter.m to use imp_ascii.m with new arguments closed enhancement minor GCE Toolbox version 3.3.5 Core toolbox

Reported by wsheldon, 7 years ago.

description

Calls to imp_filter.m in import filters and GUI dialogs should be rewritten to use the revised imp_ascii.m function so the optimal MATLAB routine can be called to avoid unnecessary text file rewriting.

Milestone: GCE Toolbox version 3.3 (9 matches)

Ticket Summary Status Type Priority Milestone Component
#39 Add template import to metadata editor closed enhancement major GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 8 years ago.

description

When creating a new metadata template, documentation metadata content cannot currently be imported directly from another template without first saving it to a file. A dynamic menu of metadata templates should be added to ui_editmetadata.m for parity with ui_editor.m to facilitate this.

#44 Update NCDC mining functions to support GHCN-D files closed enhancement major GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 7 years ago.

description

NOAA stopped updating the legacy "Summary of the Day" reports for NWS COOP stations in Dec 2010, preventing fetch_ncdc* functions from retrieving the latest observations. Functions for parsing data from the Global Historic Climate Network daily files should be developed to replace this functionality.

#15 Add value codes to metadata templates closed enhancement minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 9 years ago.

description

Value codes are currently stored in a documentation metadata field (Data/ValueCodes) and not as dedicated attribute metadata fields. However, it would be easier to manage value codes along with other attribute metadata in metadata templates. Relevant codes could be synchronized to Data/ValueCodes metadata field when the template is applied, therefore avoiding the need for global changes to handling of code values in the toolbox.

#20 Add multi-dataset support to ui_editor.m closed enhancement minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 9 years ago.

description

Currently data structures can be loaded from .mat files containing multiple data sets, but compound files cannot be created from ui_editor directly. Support should be added for saving named variables to files.

#40 Add NaN/null support to query builder dialog closed defect minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 8 years ago.

description

The query builder dialog (ui_querybuilder.m) used to search or filter records does not support filtering by missing values (NaN or null strings). The query parser should be extended to catch NaN or null values and generate calls to isnull or ~isnull as appropriate to support these use case.

#41 Support flagging updated values closed defect minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 8 years ago.

description

The update_data.m function logs value changes but does not assign flags to revised values. Support for flagging updates should be added.

#42 Add support for correcting sensor drift closed enhancement minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 8 years ago.

description

Sensor drift is a common problem with environmental data, so support should be added for correcting values over specified date ranges using constant offset, linearly-varying offsets or custom offsets and flagging the revised values.

#43 Q/C rules not re-evaluated after unit conversions closed defect minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 7 years ago.

description

Q/C rules are currently not re-evaluated after performing unit conversions, under the assumption that range-check criteria are also converted so recalculation is unnecessary. However, if custom functions or algorithms are defined referencing the column then these criteria should be re-evaluated so that flags correctly reflect the updated values.

#45 Quotes around datetime attributes incompatible with NIS DML closed defect minor GCE Toolbox version 3.3 Core toolbox

Reported by wsheldon, 7 years ago.

description

Exporting data in CSV format using exp_ascii.m results in quotes around all text values whether they include commas or leading/trailing spaces or not. Quotes around datetime values prevent proper parsing using the LTER NIS Data Management Library, though, so they should not be used.

Milestone: GCE Toolbox version 3.2 (13 matches)

Ticket Summary Status Type Priority Milestone Component
#26 Add harvest timer management to toolbox distribution closed enhancement major GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

Harvest timer scripts should be included in the toolbox distribution files and the process for managing timed harvests should be documented. The harvest timer structures should also be refactored as GCE data structures to allow GUI editing.

#33 Simplify importing of array-based CSI data closed enhancement major GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

Importing array-based Campbell Scientific Instruments logger files required running 'csi2struct' from the command line. An import filter should be developed to wrap this function to simplify importing CSI array data into the GUI data editor.

#34 Revise hammock well filters to support elevation corrections closed enhancement major GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

The hammock well import filters (imp_aquatroll, imp_minitroll, imp_schlumberger, imp_hydrolabs) use add_well_metadata to add hammock and well ids, latlon, and well metrics to hammock well data. Now that surface elevation is available from RTK surveys add_well_metadata should be revised to include sensor elevation relative to NAVD88 datum and functions should be written to calculate water level from corrected water depth and sensor elevation

#35 Revise metabase utilities to support multi-entity data sets closed defect major GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

The utilities for importing and exporting metadata between GCE Data Structures and the GCE_Metabase database (i.e. imp_gcemetadata.m, exp_datasetfiles.m, exp_datasetvariables.m) are not fully compatible with the GCE_Metabase2 schema. In particular, the new DataSetEntities? portion of the model that allow multiple entities to be included for a single data set. Changes to overall program logic (e.g. support for named entities) and SQL statements are required.

#25 Add import filter for CSI TOA5 format closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

The Campbell Scientific Instruments table-oriented ASCII format (TOA5) is commonly used for environmental monitoring, and a dedicated filter that parses column names and formats would simplify loading CSI data into the toolbox.

#27 Add support for USGS lab sample data mining and parsing closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

Support for USGS data in the toolbox is currently limited to NWIS streamflow and water quality data. Adding support for nutrient data from lab/analytical sampling would greatly enhance the data mining capabilities of the toolbox.

#28 Add support for multi-column flag mapping in ui_editor closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

The cols2flags_multi.m function is currently only accessible from the command line. This should be added as a menu option in the data set editor GUI.

#29 Add support for numeric search/replace closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

The toolbox currently supports text search/replace, but functions should also be included to support numeric value search/replace (including NaN values) as well.

#30 Add support for selective conversion of flags to columns closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

The function flags2cols.m currently generates flag columns for all data columns with any assigned flags, and does not support filtering which flags are converted. A more flexible function allowing specification of columns and flags is needed for parity with other Q/C flag functions (like copyflags.m and clearflags.m).

#31 Add support for custom flagging of interpolated values closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

Interpolation functions interp_missing and interp_missing2.m currently assign and define an E flag when filling in data values. This should be user-selectable.

#32 Fix slow metadata rendering for large fields closed defect minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

When data set metadata includes lots of content (e.g. from large multi-merge operations), rendering the metadata can be very slow.

#36 Add Q/C flag functions for site and location names closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

Geographic site (polygon) and location (point) names can contain typos and other errors that prevent generation of geographic metadata. Q/C flag functions should be added to check place names against registered names in geo_polygons.mat and geo_locations.mat databases.

#37 Add function for looking up site/transect names from locations closed enhancement minor GCE Toolbox version 3.2 Core toolbox

Reported by wsheldon, 8 years ago.

description

Some data sets include geographic location names (or GPS coordinates), but not site/transect (polygon) names which may be useful for data integration and search. A function should be added to look up site codes from location names and add the matched sites as a data set column.

Milestone: GCE Toolbox version 3.1 (7 matches)

Ticket Summary Status Type Priority Milestone Component
#4 Revise XML attribute implementation to include calcs, codes closed enhancement major GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 9 years ago.

description

In the current XML implementation some attribute metadata, like code definitions and calculations, are listed in a separate node from the attributes they describe. All attribute descriptors should be nested in the same node structure.

#12 Add support for advanced NCDC data query closed enhancement minor GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 9 years ago.

description

The NCDC data harvester (fetch_ncdc_climate_url.m) and parser (imp_ncdc_climate.m) only support the simplified summary of the day format for air temperature and precipitation. Some stations with WBAN ids also include additional climate variables, which require the advanced summary of the day format be used.

The harvester and parser functions should be revised to support either format.

#14 Store GUI preferences and other user data in a dedicated directory closed task minor GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 9 years ago.

description

Currently GUI dialog preferences and other user data (registration data, unit conversions, metadata templates) are stored in directories along with the corresponding function. These files should be stored in one place, ideally a dedicated directory, to facilitate toolbox version upgrades and migration to other systems.

#21 Add IN and NOT IN support to GUI query builder closed enhancement minor GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 8 years ago.

description

The GUI query builder (ui_querybuilder.m) does not include the IN and NOT IN constructs used the the GUI Q/C criteria editor for list-based selection. These should be added to simplify adding restrictions based on lists of text or numeric values.

#22 Add decodecols option to dataset editor closed enhancement minor GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 8 years ago.

description

The decodecols.m function to convert coded columns to nominal string columns should be added as an option to the data editor (ui_editor.m)

#23 Include column descriptions, datatypes in search indices closed defect minor GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 8 years ago.

description

Search indices generated by search_index.m and search_index_r13.m omit information about column data type and description. This information is needed to generate dataset detail web pages (e.g. in the GCE Data Portal), and to perform more advanced searches based on column characteristics.

#24 Update exp_datasetfiles and exp_datasetvariables for GCE_Metabase2 closed defect minor GCE Toolbox version 3.1 Core toolbox

Reported by wsheldon, 8 years ago.

description

The functions for uploading metadata to the GCE Metabase need to be revised to support the new structure of entity and attribute tables in GCE_Metabase2.

Milestone: GCE Toolbox version 3.0 (3 matches)

Ticket Summary Status Type Priority Milestone Component
#9 Add GPL 3 license text to source headers closed task critical GCE Toolbox version 3.0 Core toolbox

Reported by wsheldon, 9 years ago.

description

The GCE Data Toolbox will be released under a GPL license beginning with version 3. This requires inclusion of the GPL license statement in file headings below the copyright statement, and inclusion of a license file.

#6 Reorganize directory structure closed task major GCE Toolbox version 3.0 Core toolbox

Reported by wsheldon, 9 years ago.

description

Storing all core toolbox files in a single directory is potentially overwhelming for new users. Files should be organized into subdirectories by type, e.g. core, util, gui, qaqc, custom.

#11 Create GUI dialog for interactive NCDC data import closed enhancement major GCE Toolbox version 3.0 Core toolbox

Reported by wsheldon, 9 years ago.

description

The NCDC data import command in the data editor dialog currently opens a station selection dialog. A GUI dialog should be developed for parity with ClimDB and USGS, allowing selection of date range and metadata template.

Milestone: GCE Toolbox version 2.998 (4 matches)

Ticket Summary Status Type Priority Milestone Component
#3 Update parse_usgs.m to capture attribute metadata closed enhancement major GCE Toolbox version 2.998 Core toolbox

Reported by wsheldon, 9 years ago.

description

Currently parse_usgs.m mines some metadata from the USGS header, but relies on metadata templates to supply attribute metadata and qa/qc flag definitions. When an attribute is not matched in the template the import fails because a valid datatype code is not supplied in the pre-filtered text file. The NWIS RDP format now includes more information about attributes, formats and flags and this information should be parsed and applied as metadata first, then augmented with template metadata to prevent parsing errors for files with new variables.

#1 Add automatic update for USGS station data closed enhancement minor GCE Toolbox version 2.998 Core toolbox

Reported by wsheldon, 9 years ago.

description

The USGS station dataset (usgs_stations.mat) is several years old. Updating this file should be dynamic like ClimDB station data using http/xml/xslt to retrieve and parse NWIS station lists.

#7 Data harvester for NCDC web site closed enhancement minor GCE Toolbox version 2.998 Core toolbox

Reported by wsheldon, 9 years ago.

description

Harvesting data from the NOAA NCDC web site requires several form posts to retrieve a data URL, then a delay before downloading the data. A harvesting program to automate this process would make it much easier to retrieve NWS data from this database.

#8 Add copy column support to ui_editor.m closed enhancement minor GCE Toolbox version 2.998 Core toolbox

Reported by wsheldon, 9 years ago.

description

Currently to copy a column using the data editor GUI (ui_editor.m) users have to use the 'Add calculated column' dialog, which is awkward. An option to copy the selected column(n) should be added to the Edit menu.