Model:NEXRAD-extract: Difference between revisions
(→Papers) |
|||
Line 99: | Line 99: | ||
The general syntax is: | The general syntax is: | ||
radar_netcdf [-hvwp] --ncfile=$netcdfFileName --varname=$varname \ | |||
where $lat/$lon are of the point of interest, and are optional | [--lat=$lat] [--lon=$lon] [--outfile=$outfile] [--help] | ||
where $lat/$lon are of the point of interest, and are optional, and $outfile is used only if --lat and --lon are defined | |||
== History == | == History == |
Revision as of 01:57, 28 April 2012
NEXRAD-extract
Metadata
|
|
Download statistics
<pbars ytitle=Downloads Title='Monthly Downloads nexrad-extract' xlabels=true size=900x200 ymax=20 grid=true box=true cubic=true plots=open xformat=number connected=true angle=90 legend> ,Total downloads: 23 2008 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2009 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2010 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2011 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2012 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,1 Oct,1 Nov,1 Dec,2 2013 - Jan,2 Feb,0 Mar,0 Apr,0 May,5 Jun,0 Jul,0 Aug,0 Sep,1 Oct,0 Nov,2 Dec,0 2014 - Jan,0 Feb,1 Mar,1 Apr,0 May,1 Jun,2 Jul,0 Aug,0 Sep,1 Oct,2 Nov,0 Dec,0 2015 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 </pbars>
Introduction
This is a code to easily extract precipitation values (or any value, really) out of a lat/lon cell in a NetCDF of a NEXRAD level 3 product grid.
You can run it, for example, by typing at the command line:
>>> python radar_netcdf.py -vwp --ncfile='KBOU_SDUS35_N1PFTG_201106091630.nc' --varname=Precip1hr --lat=40 --lon=-100
The general syntax is:
radar_netcdf [-hvwp] --ncfile=$netcdfFileName --varname=$varname \ [--lat=$lat] [--lon=$lon] [--outfile=$outfile] [--help]
where $lat/$lon are of the point of interest, and are optional, and $outfile is used only if --lat and --lon are defined
History
Written by Andy Wickert on 17 August, 2011
Future plans
Sometime in the future I will work on a whole script to get data off the internet, get the parts that we would need, convert the data into a standard NetCDF, and pull the info out. But this is a start.
Papers
Nothing yet, but it might be incorporated in some work with Francis Rengers on gully incision in West Bijou Creek: see http://cires.colorado.edu/science/groups/tucker/Natural-Experiments/index.html
Issues
Help
Typing:
>>> python radar_netcdf.py --help
will give you the help files
Input Files
You need a NetCDF of a Nexrad Level III weather radar product. NOAA has a nice Java tool to obtain NetCDF's from their own data format.
Output Files
Right now, the code will only output values (e.g., precip) to a file. I may work on making it be able to do latitude, longitude, and/or time as well.