Comments (4)
FastTilePlot and FastAreaTilePlot called the same code for menu items including exporting a Shapefile. Split the code such that the the FastTilePlot function will be called for tile plots and the FastAreaTilePlot function will be called for the areal interpolation plots. The new function to save a Shapefile for a FastAreaTilePlot is not yet written.
from verdi.
This is working in shapefile_mpas
from verdi.
using VERDI_2.0_beta_linux64_20190623.tar.gz
verified that this works correctly for the CCTM file using the following script.
#!/bin/csh -f
#script for testing command line options
echo 'running verdi_script_areal.csh'
setenv verdi_dir /proj/ie/apps/longleaf/VERDI_2.0_jun_23/VERDI_2.0_beta
cd $verdi_dir
foreach species ( O3 )
./verdi.sh \
# -f $verdi_dir/data/model/history.2013-07-10.nc \
-f $verdi_dir/data/model/CCTM_N1a_drydep_O3.20060701 \
-s "${species}[1]" \
# -quit
end
File > Save as Shapefile, then loaded it into QGIS to verify that the data matches the Areal Interpolation Plot.
However, If I try to do the same thing with an MPAS file, the data that is exported as a shapefile is the mpas cell data, not the areal interpolation data.
This shows the precipw variable in QGIS, and it doesn't match the areal interpolation plot. It matches the Tile Plot.
from verdi.
The shapefile export for the MPAS areal interpolation plot doesn't work. The Shapefile that is saved is of the Tile Plot, but it does seem to use the extent of the Areal Interpolation plot (the huc03.shp covers only the SE region.) The data doesn't appear to match the areal interpolation plot because there are values over the atlantic ocean, and the areal interpolation plot only has values over the continental US.
Areal interpolation plot created using the following script:
#!/bin/csh -f
#script for testing command line options
echo 'running verdi_script_areal.csh'
setenv verdi_dir /applications/VERDI_2.1
cd $verdi_dir
foreach species ( qv )
./verdi.sh
-f $verdi_dir/data/model/history_qv_only.2016-07-04_00UTC.nc
-s "${species}[1]" \
-quit
end
Then you need to load the area file
/applications/VERDI_2.1/data/hucRegion/huc03.shp
Then create an areal interpolation plot.
Then save the areal interpolation plot as a shapefile.
Load saved shapefile into QGIS and then select Properties
Change Simple Fill to Categorized
Then Select Classify
A plot is generated as follows:
I would expect that if the plot was of the areal interpolation values, then there wouldn't be any cells with color over the ocean.
@systemsgo - Please take a look and see if you agree that this still needs to be fixed.
from verdi.
Related Issues (20)
- Temporal and spatial accuracy when overlay aircraft data in a tile plot - testing VERDI 2.1.4 20221109 builds HOT 20
- Obs overlays not working in VERDI 2.1.4 20221109 version HOT 19
- Saving/opening VERDI project HOT 14
- The purpose of the "Domain" window in the Datasets panel HOT 8
- Failed to load GOES-16/-17 GLM datasets (in NetCDF format) in VERDI 20230425 builds HOT 7
- save tileplot as shapefile from gui HOT 8
- Opening MPAS mesh file with an error HOT 12
- Incorrect values for the probed grid cells after using "maximum_8hour_mean" stats in a tile plot HOT 6
- Support sub-domain on a Vertical Cross Section Plot HOT 9
- Incorrect Map Projection for Regional MPAS Mesh HOT 3
- Add ability to read MPAS "cdf5"-formatted output HOT 3
- High Priority: Update Java in VERDI to Java SE 17.0.8 or greater HOT 6
- create ascii file from tileplot variable from the command line and obtain projection information for GIS from shapefile with same name
- whitespace after configFile=filename in batch script causes verdi.sh -batch to ignore the config file HOT 4
- No loaders are available for the selected file HOT 6
- Visualize differences between time-independent model files HOT 1
- Reading data from one grid and adding the value of a cell to another grid
- Reading netCDF files with unconventional dimension names HOT 5
- Tile plot for 3D grid data with layer mean or sum quantities shown in 2D space HOT 11
- batch script does not turn off column/row labels and legend as specified in the configuration file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verdi.