Giter VIP home page Giter VIP logo

verdi's People

Contributors

cseppan avatar gitter-badger avatar jherwehe avatar joellenb avatar lizadams avatar systemsgo avatar yadongxuepa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

verdi's Issues

obs data overlay doesn't match lat/lon values

If you run the script in verdi titled verdi_script_4km_obs_test.launch it will load the datasets
CCTM_combine.2008031.dave.nc.1 and verdiObs.4km_from_xorig_yorig.txt.
Contents of the verdiObs.4km_from_xorig_yorig.txt file:
Timestamp(UTC) LONGITUDE(deg) LATITUDE(deg) STATION(-) ozone(ppm)
2006-07-03T00:00:00-0000 -121.029 32.2 111993 0.04
I also loaded an ioapi obs file with the same data.
To create this ioapi file with different lat/lon values use the following commands.
ncdump paveObs.nc > paveObs.nc.txt
change Lat/Lon values in paveObs.nc.txt using text editor
ncgen -o NEW_paveObs.nc paveObs.nc.txt
Here is the contents of the file:
tail paveObs4.txt
LAT =
32.2 ;
LON =
-121.029 ;
CO =
100 ;
}
With the lat/lon values the same for both observational datasets, the sun and the circle should be on top of one another - but they are not. In addition, the lat/lon value provided by VERDI using Controls>Show Lat/Lon and hovering over the points gives very different values:
Lat = 32.02217N, Lon =121.01291W
verdi_xorig_yorig_lat_lon

camxproj.txt

VERDI_1.5.0 doesn't seem to be reading the camxproj.txt file once a user edits it. The location of the camxproj.txt is the same directory as where a UAM binary file is located.
There is a test UAM file under the following directory VERDI_1.5.0/data/CAMx
The previous version of VERDI 1.4.1 does correctly read this projection information from the camxproj.txt and correctly draws the map if provided the

Here an example camxproj.txt file:

Projection parameters are based on IOAPI. For details, see www.baronsams.com/products/ioapi

GDTYP=2
P_ALP=33.0
P_BET=45.0
P_GAM=-97.0
XCENT=-97.0
YCENT=40.0

Getting more done in GitHub with ZenHub

Hola! @lizadams has created a ZenHub account for the CEMPD organization. ZenHub is the leading team collaboration and project management solution built for GitHub.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • “+1” button for GitHub issues and comments;
  • Drag-and-drop file sharing;
  • Time-saving shortcuts like a quick repo switcher.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @lizadams.

ZenHub Board

DATUM settings for VERDI files

map_world: WGS84
ne_50m_admin_1_states_provinces_lakes: D_WGS_1984
tl_2015_us_state: D_North_American_1983
tile dataset: unknown

Analyze units for Areal Interpolation File

The Fast Area Tile Plot originated with the Watershed Deposition Tool, which is another EPA software project. VERDI, however, deals with many types of data in addition to deposition - concentration, deposition mass, deposition per unit area, meteorological, and categorical such as land cover. The types of data need to be analyzed to determine the appropriateness of performing areal interpolation and, if appropriate, the proper algorithm and units of measure.

NullPointerException error when try to add USA Counties to tile plot

at anl.verdi.plot.gui.VerdiBoundaries.draw(VerdiBoundaries.java:128)
at gov.epa.emvl.Mapper.draw(Mapper.java:137)
at anl.verdi.plot.gui.FastTilePlot$5.run(FastTilePlot.java:614)
Thread

Pulled latest code today (4/1/2016). On Windows started VERDI from command window. Selected CCTM46_... dataset, O3(ppmV)[1] variable, moved to Time Step 20, Layer 3.
selected GIS Layers/Add Map Layer/USA States
zoomed into NE US
selected GIS Layers/Add Map Layer/USA Counties
Above error was thrown. Cursor on VERDI still in "wait" cursor.

Output data for correct time step and layer (FastAreaTilePlot)

Currently, data for the first time step and first vertical layer are always output when saving from the FastAreaTilePlot regardless of the time step and layer on the screen. Fix this so that VERDI outputs what is currently displayed to the user.

Support VERDI on Windows 8.1

Test VERDI on computers running the 64-bit Windows 8.1 operating system and, if available, the 32-bit Windows 8.1 operating system. Develop installation packages for these systems. Document their capabilities and how to execute VERDI on this operating system.

Plot Domain Axis Label Orientation

Add instructions in the user manual to explain new configuration option to change the orientation of the labels on the axis label. (Note: this may change from a dialog to a pull down menu option, depending on if we add the ability for the date/time to be read either from the left to the right or the right to the left.) - or could you just add a new check box to flip the order?)
plot_label_format_orientation

use m3cple to reproject dataset and visualize results within verdi

use m3cple to reproject an ioapi netcdf dataset (multi-variable with 24 timesteps) from LATLON to UTM and totally new grid definition.

Understand this comment:
Everything works as expected, however one of the variables is soil type, which is of course categorical and does not work well with bilinear interpolation. I was wondering if there's implementation of nearest neighbor interpolation in new or upcoming ioapi (m3tools?)

Verify calculation of statistics for Fast Area Tile Plot

The same drop-down menu of statistical measures is used for both the Fast Tile Plot and the Fast Area Tile Plot. Based upon their graphical displays, however, the statistics do not appear to be calculated consistently. The methods of calculating the statistics for the Fast Area Tile Plot need to be verified against those in use for the Fast Tile Plot.

NullPointerException error when try to Edit Layer; simple style; fill color

Started new VERDI session. Selected CCTM46... dataset, O3 (ppmV)[1] variable. Did not change time step or layer.
Selected GIS Layers/Configure GIS Layers. (NOTE: only GIS layer is default North America map)
Highlighted the only layer in the Manage Layers box. Selected Edit Layer button.
Brought up Edit Style box. Stayed in the default Simple Style tab. clicked on the red box for the Fill Color. Brought up box Select a Fill Color. Clicked the top-left color (white). Clicked OK.
Errors thrown.
Edit Layer box Fill Color now shows a white box. Clicking the Finish button throws errors but does not do anything with the Edit Layer box or on the tile plot map. Have to click the Cancel button to return back to the Configure GIS Layers box.
editstyle_chgfillcolor_04012016

Issue with displaying multiple GIS layers on a Fast Tile Plot

When a Fast Tile Plot is created an appropriate base geographic dataset is displayed with the tile. When the user adds more GIS layers they may not display properly. Verify this behavior after the conversion from BIN to Shapefiles is complete.

VERDI fails to load a saved project file

VERDI has the capability to save and load a project file, which is in XML format. When loading a saved file, Java throws a NoClassDefFoundError. But, VERDI is able to successfully save and load a plot configuration file, which is also in XML format.
Fix the bug that prevents VERDI from loading a project file.

NullPointerException error when select Save Image As from tile plot

Started new VERDI session. Selected CCTM46... dataset, O3(ppmV)[1] variable, tile plot. Stayed on time step 1, layer 1.
Placed cursor on tile map (portion with the tiles and the North America geographic boundaries). Rt-click and select Save Image As from popup box. Save dialog box was displayed. Threw NullPointerException error.
savetileplotaspng_04012016
Was still allowed to navigate to desired subdirectory, enter a file name, and Save the file. Saved file shown here.
cctm46ts1l1_saveaspng

Shapefiles: redesign manner in which the components of the FastTilePlot are arranged and displayed

The following graphic illustrates how VERDI's Fast Tile Plot currently lays out its components.
https://www.draw.io/#G0Byc9bjXZNTDdb05HZzlvVWx5R2c
Each group of components is shown in its own rectangular box. Currently the colored box represents how the legend, axes, and tiles themselves are all grouped into one Rectangle2D object on the VERDI screen. Note that the box in the center ("Tiles") contains the actual colored grid cells.

The goal of this section of the project is to overlay the tiles with shapefiles, either those included with the VERDI distribution or a shapefile provided by the user. However, the current generation of this chart in VERDI appears to be incompatible with how GeoTools draws a shapefile.

VERDI reads gridded data from a NetCDF data file, extracts the data to be displayed based on grid cell, time step, layer, and parameter, and then converts the geographic coordinates in the data file to (x,y) screen coordinates in a Rectangle2D object for display. These data, as well as the legend, axes, and related tics and labels, are all loaded into a single widget (colored rectangle on the above sketch) for display in VERDI.

GeoTools, on the other hand, reads and displays shapefiles in many different geographic projections and converts all shapefiles to be displayed together into a common projection. The shapefile is then displayed into something like that shown here:

http://docs.geotools.org/stable/userguide/_images/jmapframe1.jpg

Note that, except for the frame title and two widget bars, GeoTools uses the entire frame to display the shapefile in the selected geographic projection. There appears to be a fundamental difference between how VERDI draws georeferenced data (in an x,y rectangle in units of display) and how GeoTools draws georeferenced data (in a geographic projection).

In order to successfully draw shapefiles onto the tiles, the "Tiles" portion of the VERDI screen must be extracted from the current widget configuration and changed to a GeoTools mapping widget. Also, the data read from the NetCDF file need to be maintained in georeferenced form (i.e., not be translated to [x,y] screen coordinates).

NOTE: The following steps have already been completed.

  1. Open the standard shapefiles distributed with VERDI.
  2. Present a file chooser widget for the user to select any shapefile for use in VERDI.
  3. Open, read, and determine the extents and projection of each shapefile.
  4. Determine the projection of the data in the NetCDF data file.
  5. Define the translator to reproject the shapefile data to the projection of the data file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.