USGS Gr Release Notes October 14, 2008 John Donovan 2008-10-14 Fixed bug in Time Series Extractor where out of range input locations were causing exceptions. Fixed bug that kept boundary files from being reopened in GrBathCalc. Made the CR1000 default config the same as the first config item on the list. 2008-05-02 Fixed bug that disabled the cutoff depth with certain water levels in GrBathCalc. 2008-03-13 Updated all usages of GroupLayout to use the new javax.swing packages. 2008-03-07 Able to write portions of a velocity field to an ASCII file using the vector animation class. 2007-07-20 Play/Pause/Step animation buttons are handled like all other panels on the Dynamic Toolbar. Improvements to Cook Particle animations including options that can be specified in a config file, and an options button on the toolbar for turning tag labels on and off. TimeSeries now writes the timeDim attribute out to XML files. 2007-07-15 Fixed bug in opening image files. 2007-07-03 Added Noaa2DataFile format with auto-recognize. Auto-recognize ListeningStationDataFile format. 2007-06-28 Fixed bug that caused Modify Dialog actions to be applied twice. Added Power, Log 10, and Absolute Value actions to the Modify Dialog. Gr auto-recognizes TimeDataFile, CR10, CR1000, and Rdb formats. 2007-06-19 Improve "Create Animation" to work on an existing page and add the parts that are missing. Create animation now adds date/time text to the map graph. Opening an image file will look to see if a graph with 1:1 aspect ratio is present on the current page and add the image there, below other elements, but above other textures. If a 1:1 graph is not found, the image will be added to a new page, as before. ListeningStationCalculator now handles paths that define placement of the particle after it has reached its last detection. The curve title naming convention is "LS X LS END". 2007-06-11 Allow GS format files to work with drag and drop vector animation feature. 2007-06-08 Added dialog box to allow user to specify texture corner locations when opening. Added Cook Lab ParticleDataFile for animating fish data. 2007-05-10 Added "Create Animation" command (Ctrl-Shift-A) to create an animation on the current page with a TimeMarker, map graph, and time graph with a line markup. When data files are opened and an animation is on the current page, Gr will ask if the data should be inserted as a vector animation. When drawing curves, selecting the endpoint of a line before drawing causes new clicks to be appended to that line beyond the selected endpoint. Selecting two points in the middle of a line and then drawing causes new clicks to be inserted between the two points. Added ListeningStationDataFile format which creates a particle animation interpolated between hits at listening stations. 2007-03-06 Fixed bug in TsToolSet "Fix 15" button that caused it to miss non-15 minute data in negative Julian Days. Allow NWIS Daily Value RDB files to be read. 2007-02-05 Fixed bug that caused data series to be read incorrectly from XML file under Java 6. 2007-01-04 Allow files ending with .gif, .png, .jpg, and .jpeg to be recognized and opened as a data file using gov.usgs.gr.ImageFile. It is converted to a texture with width and height equal to the pixel width and height. Image files can be dragged and dropped on the Gr shortcut or application. 2006-12-21 Added Drag and Drop support for dragging files from Windows Explorer and dropping on Gr to open. RdbFile defaults to allow time zones other than UTC, as long as the same zone is used throughout. GrFilt still requires UTC. 2006-10-10 Gr now uses JOGL (JSR-231) 1.0. Fixed bug in 1D path editor. 2006-07-02 Moved gr.jar to new location within Gr directory. Gr now looks for JOGL in the Gr directory instead of the Java directory. 2006-06-08 Added optional installer to work with Java Web Start. Source code updated to use Java 5 language constructs. Gr now requires Java 5 to run. 2006-04-21 Removed the restiction that caused axis major tick increments entered throught the Properties Dialog to be ignored when they were too small. At least 10 major ticks may be specified now. 2006-03-29 Added CR1000 input file format. 2006-03-28 Switched from JOGL to JSR-231 OpenGL bindings. 2006-02-16 Allow magnitude to be written next to GlVectorAnimation if it has a TextMarkup child. 2006-02-15 Improved multithreading and run stats in ParticleTrackCollator. 2006-01-19 Fixed bug so that any size images can be used as Textures in JOGL version of Gr. 2005-11-01 Added bull's eye and filled circle as options for GlParticleAnimation symbols. 2005-02-03 Created DoubleDataSeries to store curve data in double precision. XyDataSeries and TimeSeries now use double precision. Switched OpenGL bindings from GL4Java to JOGL. 2004-12-17 Si3D 3D vectors are faster in 2D graphs by only drawing the area within the graph. DataSeries that are used in a TimeMarker can also be plotted in a graph. 2004-12-02 Added 3D VPV animation. Added VariableShapeFormatter that allows graphs to be placed at any location in the window, including side-by-side. 2004-10-29 The modify dialog box understands the codes 'h', 'm', and 's' for units of hours, minutes, and seconds. This only works for data measured in Julian days. For example, to shift data 15 minutes, type '15m' or '0.25h'. 2004-10-05 Zooming in or out or using Zoom All on the time graph of an animation now keeps the same time showing for the animation. 2004-09-17 Adds Si3dPostProcessor class for making it easier to view the output of an Si3D model run. Adds digital filter written by DWR's Aaron Miller. 2004-09-02 Allow long curve titles to be shown in curve status bar and modify dialog. Improved ability of GlParticleAnimation to animate data with separate series for time, location, and color, especially with static location. Added RmsCalculator class. 2004-05-20 Fixed clipping bug that kept deleted points markers from showing. 2004-02-12 Fixed minor formatting issues. 2004-02-12 Added GlColorBar object for displaying colors and values in a graph. Fixed bug selecting curves in status bar. 2004-02-02 Added capability to define and animate paths between a network of nodes such as in a 1D model. 2004-01-15 Fixed bug that caused graphs to be uneven heights in PostScript output. Added GlPrimitiveAnimation class for animating OpenGL primitives such as points, lines, triangles, and quadrilaterals. Added MultiThreader class and ThreadWorker interface, which can be used by other classes, such as Si3D post-processors, to speed up calculations on multiprocessor systems. Added memory caching to RafDataFile. 2003-10-21 Open file confirmation dialog drop-down list updated to use ScriptFile99 instead of ScriptFile. 2003-09-11 Reads, edits, resamples, writes, and prints bathymetry data for Si3d. Added 1-to-1 aspect ratio property to graphs. Useful for displaying maps. Reads comma delimited CR10 files, bad values indicated by non-numbers instead of a number range. 2003-04-03 Enhanced support for output from the USGS Si3d hydrodynamic model (Pete Smith, pesmith@usgs.gov). Enhanced ParticleAnimation to allow more flexibility on data input and to draw a sphere in 3D. Handles GS format files that are longer than two years. 2003-01-17 When opening an XML file with an animations (a page with a TimeMarker in it) Gr defaults to Pan mode instead of Zoom mode. 2002-11-12 Properties Dialog table changed from Java JTable to JPanel with Grid layout. Table components no longer require extra clicks to begin and end editing. PostScript files can be sent directly to the printer after saving. Internal changes to source code. Changed Vector to List and Enumeration to Iterator. Added synchronized blocks for improved multithreading. Early versions of 3D graphics and Si3D model post-processing classes added. 2002-05-10 First and last points of curves are not no longer always plotted on PostScript output. Only the nearest point outside the graph is plotted. This makes it easier to select all points when the PostScript file is imported into a drawing application, such as Adobe Illustrator. When drawing curves, each click now only creates one point, instead of two, as was happening before. If a page has no title when it is created, the title is set to the name of the file. When switching pages, the title of the Gr window changes to match the page title. 2002-05-01 Switched OpenGL bindings from Magician to GL4Java. TimeMarker added to provide animation capabilities. Play/pause buttons appear for controlling pages with animations. Vector and particle animation objects added for screen only. Calculator objects added for creating vector and particle animations. Image texture object added for screen only. CR10, VPV input formats added. Config files can be used to set default screen colors, PostScript options, and other program attributes. Working formatter added to allow unequally sized graphs. 2001-02-01 Scroll bar appears next to buttons on left side of window if the window isn't big enough to show all the buttons. Draw command added to tools menu for drawing curves. Linux and Solaris versions made available. Bug fixed where reordering graphs caused printing errors. 2000-11-13 Properties Dialog redone to allow editing of every object's properties using a combination tree/table interface. Objects can be cut or copied and pasted as a link or copy using the Properties Dialog. Multiple pages can be open at once and cycled. Pages and/or data can be saved to or read from an XML file. Toolbar reorganized and pan/zoom/select radio buttons added. Menus streamlined. Open file command for opening all file types except template. Delimited data file added as a column data format. 2000-02-18 Modify Dialog box redone. Allows creating a new curve as output. Modify Dialog has undo and redo buttons. Detailed Status Bar added to allow editing curves. Most page layout changes, such as cutting and pasting curves, are undoable. Fixed a bug that caused some symbols to be omitted in PostScript output. Added a smart point reduction algorithm to thin out points on PostScript output. Point reduction parameters can be changed or debugged using the Printing tab in the Properties Dialog. PostScript output now uses rounded line joints instead of mitered ones. This eliminates small, but potentially misleading, spikes in the curves. 1999-11-30 Gr web page made available at http://wwwdcascr.wr.usgs.gov/projects/gr 1999-06-14 Allow dragging graphs to new positions. Added colors and line patterns for curves. As new curves are added to a graph, they appear with different line patterns and colors. Cut, Copy, and Paste for curves. Page layout can be saved as a template file. Multiple files can be opened and overlayed. User can choose between multiple data input formats. 1999-05-04 Save method added for GS data. Missing points are marked as gaps. Multiple levels of undo and redo. User can pick the number of levels. Ctrl-Click to select more than one curve. Linear Gap Filler added. 1999-04-06 Allow symbols to be drawn at points along the curve. Status bar displays the coordinates of the nearest point to the cursor. Selected points can be deleted. Selected points can be set equal to, multiplied by, or added to a constant. 1999-03-30 Allow editing of graph and axis properties using dialog box. PostScript bounding box works for both portrait and landscape orientation. 1999-03-15 Zoom window command added. 1998-12-18 Development of Gr became a full-time project. 1998-06-11 Started work on a Java version of Gr using Magician OpenGL. 1997-12-23 Started work on a C++ plotting program named Gr, using OpenGL and GLUT. 1997-01-06 Looked into writing a portable version of Jon Burau's tplot, which was written using IRIS GL and only ran on the SGI. The program would need to read GS format, display three box plots on the screen, and allow for printing. Eventually, tedit capabilities could be added, such as direct editing and saving of data. Estimated development time for plotting version: one month.