Model:NEXRAD-extract: Difference between revisions
(→Papers) |
No edit summary |
||
Line 36: | Line 36: | ||
|Programming language=Python | |Programming language=Python | ||
|Code optimized=Single Processor | |Code optimized=Single Processor | ||
|Start year development=2011 | |Start year development=2011 | ||
|Does model development still take place?=Yes | |Does model development still take place?=Yes | ||
|Model availability=As code | |Model availability=As code | ||
|Source code availability=Through CSDMS repository | |Source code availability=Through web repository, Through CSDMS repository | ||
|Source web address= | |Source web address=https://github.com/awickert/nexrad-extract | ||
|ViewVC web address=http://csdms.colorado.edu/viewvc/nexrad-extract/ | |ViewVC web address=http://csdms.colorado.edu/viewvc/nexrad-extract/ | ||
|Program license type=GPL v2 | |Program license type=GPL v2 | ||
|Memory requirements=little | |Memory requirements=little | ||
|Typical run time=less than a second to seconds | |Typical run time=less than a second to seconds | ||
Line 57: | Line 52: | ||
|Output format=ASCII | |Output format=ASCII | ||
|Pre-processing software needed?=No | |Pre-processing software needed?=No | ||
|Post-processing software needed?=No | |Post-processing software needed?=No | ||
|Visualization software needed?=No | |Visualization software needed?=No | ||
}} | }} | ||
{{Process description model | {{Process description model | ||
Line 75: | Line 66: | ||
{{Documentation model | {{Documentation model | ||
|Manual model available=No | |Manual model available=No | ||
}} | }} | ||
{{Additional comments model}} | {{Additional comments model}} | ||
{{CSDMS staff part | {{CSDMS staff part | ||
|OpenMI compliant=No not possible | |OpenMI compliant=No not possible | ||
|IRF interface=No not possible | |IRF interface=No not possible | ||
|CMT component=Not yet | |CMT component=Not yet | ||
|CCA component=No not possible | |||
}} | }} | ||
{{DOI information | {{DOI information |
Revision as of 16:23, 13 January 2015
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.
References
Source code
Suggested way to reference a version of the model source code following data reference guidelines:
Publication(s) | Model described | Citations |
---|
Overview and general
Publication(s) | Model described | Citations |
---|
Applications
Publication(s) | Model described | Citations |
---|
Related theory and data
Publication(s) | Model described | Citations |
---|
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 following help information (as of 28 April 2012, and unchanged since the code was first completed):
Options: -h, --help show this help message and exit -v If selected, turns on verbosity -w Write the value at the given lat/lon to file -p Plots radar output --ncfile=NCFILE NetCDF filename --varname=VARNAME NetCDF variable to get, e.g., 'Precip1hr' --lat=LAT Latitude of point to get data. Optional, default = none --lon=LON Longitude of point to get data. Optional, default = none --outfile=OUTFILE Output file for lat/lon data on precip. Optional: only used if lat/lon are defined, default = NEXRAD_ll_out.txt.
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: http://www.ncdc.noaa.gov/oa/radar/radar-decoding-easy.html
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.