Model:NEXRAD-extract: Difference between revisions
(Created page with "{{Model identity |Model type=Tool }} {{Start models incorporated}} {{End a table}} {{Model identity2 |Categories=Climate, Terrestrial |Spatial dimensions=2D, 3D |Spatialscale=Con...") |
m (Text replacement - "{{End headertab}}" to "{{End headertab}} {{{{PAGENAME}}_autokeywords}}") |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
{{End a table}} | {{End a table}} | ||
{{Model identity2 | {{Model identity2 | ||
| | |ModelDomain=Climate, Hydrology | ||
|Spatial dimensions=2D, 3D | |Spatial dimensions=2D, 3D | ||
|Spatialscale=Continental, Regional-Scale, Landscape-Scale, Watershed-Scale, Reach-Scale | |Spatialscale=Continental, Regional-Scale, Landscape-Scale, Watershed-Scale, Reach-Scale | ||
Line 20: | Line 20: | ||
{{End a table}} | {{End a table}} | ||
{{Modeler information | {{Modeler information | ||
|First name= | |First name=Andy | ||
|Last name=Wickert | |Last name=Wickert | ||
|Type of contact=Model developer | |Type of contact=Model developer | ||
|Institute / Organization=University of Colorado | |Institute / Organization=University of Colorado | ||
|Postal address 1=Geological Sciences and INSTAAR | |Postal address 1=Geological Sciences and INSTAAR | ||
|Postal address 2=UCB 450 | |Postal address 2=UCB 450 | ||
|Town / City=Boulder | |Town / City=Boulder | ||
|Postal code=80309 | |Postal code=80309 | ||
|State=Colorado | |State=Colorado | ||
|Country= | |Country=United States | ||
|Email address=wickert@colorado.edu | |Email address=wickert@colorado.edu | ||
}} | }} | ||
{{Model technical information | {{Model technical information | ||
|Supported platforms=Unix, Linux | |Supported platforms=Unix, Linux, Mac OS | ||
|Programming language=Python | |Programming language=Python | ||
|Code optimized=Single Processor | |Code optimized=Single Processor | ||
Line 39: | Line 39: | ||
|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=https://github.com/awickert/nexrad-extract | |||
|Program license type=GPL v2 | |Program license type=GPL v2 | ||
|Memory requirements=little | |Memory requirements=little | ||
Line 67: | Line 68: | ||
{{Additional comments model}} | {{Additional comments model}} | ||
{{CSDMS staff part | {{CSDMS staff part | ||
|OpenMI compliant=No | |OpenMI compliant=No but possible | ||
| | |IRF interface=No but possible | ||
| | |CMT component=No but possible | ||
| | |CCA component=No but possible | ||
}} | |||
{{DOI information | |||
|DOI model=10.1594/IEDA/100150 | |||
|DOI assigned to model version=0.1 | |||
|DOI-year assigned to model version=2012 | |||
}} | }} | ||
{{Start coupled table}} | {{Start coupled table}} | ||
{{End a table}} | {{End a table}} | ||
{{End headertab}} | {{End headertab}} | ||
{{{{PAGENAME}}_autokeywords}} | |||
<!-- PLEASE USE THE "EDIT WITH FORM" BUTTON TO EDIT ABOVE CONTENTS; CONTINUE TO EDIT BELOW THIS LINE --> | <!-- PLEASE USE THE "EDIT WITH FORM" BUTTON TO EDIT ABOVE CONTENTS; CONTINUE TO EDIT BELOW THIS LINE --> | ||
==Introduction== | ==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 == | == 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 == | |||
<br>{{AddReferenceUploadButtons}}<br><br> | |||
{{#ifexist:Template:{{PAGENAME}}-citation-indices|{{{{PAGENAME}}-citation-indices}}|}}<br> | |||
{{Include_featured_references_models_cargo}}<br> | |||
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 == | == Issues == | ||
== Help == | == Help == | ||
{{#ifexist:Model_help:{{PAGENAME}}|[[Model_help:{{PAGENAME}}]]|}} | |||
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 == | == 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 == | == 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. |
Latest revision as of 20:18, 16 September 2020
NEXRAD-extract
Metadata
|
|
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
Nr. of publications: | 1 |
Total citations: | 0 |
h-index: | --"--" is not a number. |
m-quotient: | 0 |
Featured publication(s) | Year | Model described | Type of Reference | Citations |
---|---|---|---|---|
Wickert, A.D.; 2012. NEXRAD-extract, version 0.1.. , , . 10.1594/IEDA/100150 (View/edit entry) | 2012 | NEXRAD-extract |
Source code ref. | 0 |
See more publications of NEXRAD-extract |
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.