DQRID : D060209.3
Start DateStart TimeEnd DateEnd Time Data Quality Metric
04/20/1998000004/16/20022359Does not affect quality
more
Subject:
SGP/RUC/X1 - Subsetting RUC-40
DataStreams:sgpallruc40isobX1.c1
Description:
As per ECR-00405, some users would to have access to subsetted RUC-40 data products 
similar to those products currently available for RUC-20.
Suggestions: 
Users can use NCO utilities to create subsets from the "sgpallruc40" data
products.  

Below is one method that can be used. This is also mentioned in the FAQ on the ARM RUC description page at: http://www.arm.gov/xds/static/ruc.stm
--------------------------------------------------------------

Question: How can I create subsetted RUC 40 data similar to the RUC 20 data currently available at the Archive?

Currently, the RUC 40 netCDF data available at the archive are the full area, hourly files (sgpallruc40isobX1.c1 and sgpallruc40hybrX1.c1). Using the netCDF Operator (NCO) utilities, it is easy to produce subsetted, daily files similar to the RUC 20 subsets available (sgpruc20hybrX1.c1 and sgpruc20isobX1.c1).

The NCO utilities can be found at http://nco.sourceforge.net/
Using the ncks (NCO "kitchen sink") command, you can subset the ruc data as follows:

ncks -d nx,, -d ny,,  

Note: xmin,xmax,ymin,ymax are index ranges.

For example to subset around the SGP site use the following index values
for latitudes 34.209 to 38.928 and longitudes -99.798 to -95.
xmin = 71
xmax = 82
ymin = 40
ymax = 53


ncks -d nx,71,82 -d ny,40,53 sgpallruc40isobX1.c1.20000314.130000.cdf sgpruc40isobX1.c1.subset.cdf

Here is a sample C-Shell script for subsetting the ruc40 and using the NCO command ncrcat to concatenate the hourly subsetted files into a ruc 40 subsetted daily file similar to the sgpruc20isobX1.c1 files.

#!/bin/csh
# This script subsets the RUC 40 isobaric files
# and then concatenates hourly files into 1 daily file
# usage: subset_ruc40.csh 
#   where yyyymmdd is the date of the files to subset
#   and concatenate. Ex. 20000314 (yyyy=2000,mm=03, dd=14)
# Example: subset_ruc40.csh 20000314
# xmin,xmax,ymin,ymax are indices for
# lat = 34.209, 38.928, lon = -99.798, -95
set xmin = 71
set xmax = 82
set ymin = 40
set ymax = 53
set date = $1
foreach file (sgpallruc40isob*$date*)
  ncks -d nx,${xmin},${xmax} -d ny,${ymin},${ymax} $file $file.sub
end
ncrcat -h sgpallruc40isob*$date*sub sgpruc40isobX1.c1.$date.000000.cdf
rm *.sub
exit

For more information on the NCO commands ncks and ncrcat see:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink
http://nco.sourceforge.net/nco.html#ncrcat-netCDF-Record-Concatenator

Also other commands for subsetting and analysis of netCDF data can be found at http://www.arm.gov/data/tools.stm


Users can use NCO utilities to create subsets from the "sgpallruc40" data
products.  

Below is one method that can be used. This is also mentioned in the FAQ on the ARM RUC description page at: http://www.arm.gov/xds/static/ruc.stm
--------------------------------------------------------------

Question: How can I create subsetted RUC 40 data similar to the RUC 20 data currently available at the Archive?

Currently, the RUC 40 netCDF data available at the archive are the full area, hourly files (sgpallruc40isobX1.c1 and sgpallruc40hybrX1.c1). Using the netCDF Operator (NCO) utilities, it is easy to produce subsetted, daily files similar to the RUC 20 subsets available (sgpruc20hybrX1.c1 and sgpruc20isobX1.c1).

The NCO utilities can be found at http://nco.sourceforge.net/
Using the ncks (NCO "kitchen sink") command, you can subset the ruc data as follows:

ncks -d nx,, -d ny,,  

Note: xmin,xmax,ymin,ymax are index ranges.

For example to subset around the SGP site use the following index values
for latitudes 34.209 to 38.928 and longitudes -99.798 to -95.
xmin = 71
xmax = 82
ymin = 40
ymax = 53


ncks -d nx,71,82 -d ny,40,53 sgpallruc40isobX1.c1.20000314.130000.cdf sgpruc40isobX1.c1.subset.cdf

Here is a sample C-Shell script for subsetting the ruc40 and using the NCO command ncrcat to concatenate the hourly subsetted files into a ruc 40 subsetted daily file similar to the sgpruc20isobX1.c1 files.

#!/bin/csh
# This script subsets the RUC 40 isobaric files
# and then concatenates hourly files into 1 daily file
# usage: subset_ruc40.csh 
#   where yyyymmdd is the date of the files to subset
#   and concatenate. Ex. 20000314 (yyyy=2000,mm=03, dd=14)
# Example: subset_ruc40.csh 20000314
# xmin,xmax,ymin,ymax are indices for
# lat = 34.209, 38.928, lon = -99.798, -95
set xmin = 71
set xmax = 82
set ymin = 40
set ymax = 53
set date = $1
foreach file (sgpallruc40isob*$date*)
  ncks -d nx,${xmin},${xmax} -d ny,${ymin},${ymax} $file $file.sub
end
ncrcat -h sgpallruc40isob*$date*sub sgpruc40isobX1.c1.$date.000000.cdf
rm *.sub
exit

For more information on the NCO commands ncks and ncrcat see:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink
http://nco.sourceforge.net/nco.html#ncrcat-netCDF-Record-Concatenator

Also other commands for subsetting and analysis of netCDF data can be found at http://www.arm.gov/data/tools.stm

Users can use NCO utilities to create subsets from the "sgpallruc40" data
products. 

 Below is one method that can be used. This is also mentioned in the FAQ on the ARM RUC 
description page at: 
http://www.arm.gov/xds/static/ruc.stm
--------------------------------------------------------------

Question: How can I create subsetted RUC 40 data similar to the RUC 20 data currently available at the Archive?

Currently, the RUC 40 netCDF data available at the archive are the full area, hourly files (sgpallruc40isobX1.c1 and sgpallruc40hybrX1.c1). Using the netCDF Operator (NCO) utilities, it is easy to produce subsetted, daily files similar to the RUC 20 subsets available (sgpruc20hybrX1.c1 and sgpruc20isobX1.c1).

The NCO utilities can be found at http://nco.sourceforge.net/
Using the ncks (NCO "kitchen sink") command, you can subset the ruc data as follows:

ncks -d nx,, -d ny,,  

Note: xmin,xmax,ymin,ymax are index ranges.

For example to subset around the SGP site use the following index values
for latitudes 34.209 to 38.928 and longitudes -99.798 to -95.
xmin = 71
xmax = 82
ymin = 40
ymax = 53


ncks -d nx,71,82 -d ny,40,53 sgpallruc40isobX1.c1.20000314.130000.cdf sgpruc40isobX1.c1.subset.cdf

Here is a sample C-Shell script for subsetting the ruc40 and using the NCO command ncrcat to concatenate the hourly subsetted files into a ruc 40 subsetted daily file similar to the sgpruc20isobX1.c1 files.

#!/bin/csh
# This script subsets the RUC 40 isobaric files
# and then concatenates hourly files into 1 daily file
# usage: subset_ruc40.csh 
#   where yyyymmdd is the date of the files to subset
#   and concatenate. Ex. 20000314 (yyyy=2000,mm=03, dd=14)
# Example: subset_ruc40.csh 20000314
# xmin,xmax,ymin,ymax are indices for
# lat = 34.209, 38.928, lon = -99.798, -95
set xmin = 71
set xmax = 82
set ymin = 40
set ymax = 53
set date = $1
foreach file (sgpallruc40isob*$date*)
  ncks -d nx,${xmin},${xmax} -d ny,${ymin},${ymax} $file $file.sub
end
ncrcat -h sgpallruc40isob*$date*sub sgpruc40isobX1.c1.$date.000000.cdf
rm *.sub
exit

For more information on the NCO commands ncks and ncrcat see:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink
http://nco.sourceforge.net/nco.html#ncrcat-netCDF-Record-Concatenator

Also other commands for subsetting and analysis of netCDF data can be found at http://www.arm.gov/data/tools.stm
















Users can use NCO utilities to create subsets from the "sgpallruc40" d
ata
products. 
 Below is one method that can be used. This is also mentioned in the FAQ on the ARM RUC description page at: http://www.arm.gov/xds/static/ruc.stm
--------------------------------------------------------------

Question: How can I create subsetted RUC 40 data similar to the RUC 20 data currently available at the Archive?

Currently, the RUC 40 netCDF data available at the archive are the full area, hourly files (sgpallruc40isobX1.c1 and sgpallruc40hybrX1.c1). Using the netCDF Operator (NCO) utilities, it is easy to produce subsetted, daily files similar to the RUC 20 subsets available (sgpruc20hybrX1.c1 and sgpruc20isobX1.c1).

The NCO utilities can be found at http://nco.sourceforge.net/
Using the ncks (NCO "kitchen sink") command, you can subset the ruc data as follows:

ncks -d nx,, -d ny,,  

Note: xmin,xmax,ymin,ymax are index ranges.

For example to subset around the SGP site use the following index values
for latitudes 34.209 to 38.928 and longitudes -99.798 to -95.
xmin = 71
xmax = 82
ymin = 40
ymax = 53


ncks -d nx,71,82 -d ny,40,53 sgpallruc40isobX1.c1.20000314.130000.cdf sgpruc40isobX1.c1.subset.cdf

Here is a sample C-Shell script for subsetting the ruc40 and using the NCO command ncrcat to concatenate the hourly subsetted files into a ruc 40 subsetted daily file similar to the sgpruc20isobX1.c1 files.

#!/bin/csh
# This script subsets the RUC 40 isobaric files
# and then concatenates hourly files into 1 daily file
# usage: subset_ruc40.csh 
#   where yyyymmdd is the date of the files to subset
#   and concatenate. Ex. 20000314 (yyyy=2000,mm=03, dd=14)
# Example: subset_ruc40.csh 20000314
# xmin,xmax,ymin,ymax are indices for
# lat = 34.209, 38.928, lon = -99.798, -95
set xmin = 71
set xmax = 82
set ymin = 40
set ymax = 53
set date = $1
foreach file (sgpallruc40isob*$date*)
  ncks -d nx,${xmin},${xmax} -d ny,${ymin},${ymax} $file $file.sub
end
ncrcat -h sgpallruc40isob*$date*sub sgpruc40isobX1.c1.$date.000000.cdf
rm *.sub
exit

For more information on the NCO commands ncks and ncrcat see:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink
http://nco.sourceforge.net/nco.html#ncrcat-netCDF-Record-Concatenator

Also other commands for subsetting and analysis of netCDF data can be found at http://www.arm.gov/data/tools.stm

Users can use NCO utilities to create subsets from the "sgpallruc40" data
products
. 
 Below is one method that can be used. This is also mentioned in the FAQ on the ARM RUC 
description page at: http://www.arm.gov/xds/static/ruc.stm
--------------------------------------------------------------

Question: How can I create subsetted RUC 40 data similar to the RUC 20 data currently available at the Archive?

Currently, the RUC 40 netCDF data available at the archive are the full area, hourly files (sgpallruc40isobX1.c1 and sgpallruc40hybrX1.c1). Using the netCDF Operator (NCO) utilities, it is easy to produce subsetted, daily files similar to the RUC 20 subsets available (sgpruc20hybrX1.c1 and sgpruc20isobX1.c1).

The NCO utilities can be found at http://nco.sourceforge.net/
Using the ncks (NCO "kitchen sink") command, you can subset the ruc data as follows:

ncks -d nx,, -d ny,,  

Note: xmin,xmax,ymin,ymax are index ranges.

For example to subset around the SGP site use the following index values
for latitudes 34.209 to 38.928 and longitudes -99.798 to -95.
xmin = 71
xmax = 82
ymin = 40
ymax = 53


ncks -d nx,71,82 -d ny,40,53 sgpallruc40isobX1.c1.20000314.130000.cdf sgpruc40isobX1.c1.subset.cdf

Here is a sample C-Shell script for subsetting the ruc40 and using the NCO command ncrcat to concatenate the hourly subsetted files into a ruc 40 subsetted daily file similar to the sgpruc20isobX1.c1 files.

#!/bin/csh
# This script subsets the RUC 40 isobaric files
# and then concatenates hourly files into 1 daily file
# usage: subset_ruc40.csh 
#   where yyyymmdd is the date of the files to subset
#   and concatenate. Ex. 20000314 (yyyy=2000,mm=03, dd=14)
# Example: subset_ruc40.csh 20000314
# xmin,xmax,ymin,ymax are indices for
# lat = 34.209, 38.928, lon = -99.798, -95
set xmin = 71
set xmax = 82
set ymin = 40
set ymax = 53
set date = $1
foreach file (sgpallruc40isob*$date*)
  ncks -d nx,${xmin},${xmax} -d ny,${ymin},${ymax} $file $file.sub
end
ncrcat -h sgpallruc40isob*$date*sub sgpruc40isobX1.c1.$date.000000.cdf
rm *.sub
exit

For more information on the NCO commands ncks and ncrcat see:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink
http://nco.sourceforge.net/nco.html#ncrcat-netCDF-Record-Concatenator

Also other commands for subsetting and analysis of netCDF data can be found at http://www.arm.gov/data/tools.stm


























Users can use NCO utilities to create subsets from the "sgpallruc40" data
prod
ucts. 
 Below is one method that can be used. This is also mentioned in the FAQ on the ARM RUC description page at: http://www.arm.gov/xds/static/ruc.stm
--------------------------------------------------------------

Question: How can I create subsetted RUC 40 data similar to the RUC 20 data currently available at the Archive?

Currently, the RUC 40 netCDF data available at the archive are the full area, hourly files (sgpallruc40isobX1.c1 and sgpallruc40hybrX1.c1). Using the netCDF Operator (NCO) utilities, it is easy to produce subsetted, daily files similar to the RUC 20 subsets available (sgpruc20hybrX1.c1 and sgpruc20isobX1.c1).

The NCO utilities can be found at http://nco.sourceforge.net/
Using the ncks (NCO "kitchen sink") command, you can subset the ruc data as follows:

ncks -d nx,, -d ny,,  

Note: xmin,xmax,ymin,ymax are index ranges.

For example to subset around the SGP site use the following index values
for latitudes 34.209 to 38.928 and longitudes -99.798 to -95.
xmin = 71
xmax = 82
ymin = 40
ymax = 53


ncks -d nx,71,82 -d ny,40,53 sgpallruc40isobX1.c1.20000314.130000.cdf sgpruc40isobX1.c1.subset.cdf

Here is a sample C-Shell script for subsetting the ruc40 and using the NCO command ncrcat to concatenate the hourly subsetted files into a ruc 40 subsetted daily file similar to the sgpruc20isobX1.c1 files.

#!/bin/csh
# This script subsets the RUC 40 isobaric files
# and then concatenates hourly files into 1 daily file
# usage: subset_ruc40.csh 
#   where yyyymmdd is the date of the files to subset
#   and concatenate. Ex. 20000314 (yyyy=2000,mm=03, dd=14)
# Example: subset_ruc40.csh 20000314
# xmin,xmax,ymin,ymax are indices for
# lat = 34.209, 38.928, lon = -99.798, -95
set xmin = 71
set xmax = 82
set ymin = 40
set ymax = 53
set date = $1
foreach file (sgpallruc40isob*$date*)
  ncks -d nx,${xmin},${xmax} -d ny,${ymin},${ymax} $file $file.sub
end
ncrcat -h sgpallruc40isob*$date*sub sgpruc40isobX1.c1.$date.000000.cdf
rm *.sub
exit

For more information on the NCO commands ncks and ncrcat see:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink
http://nco.sourceforge.net/nco.html#ncrcat-netCDF-Record-Concatenator

Also other commands for subsetting and analysis of netCDF data can be found at http://www.arm.gov/data/tools.stm
Measurements:sgpallruc40isobX1.c1:
  • altitude
  • runoffsrfacc
  • rhfrz
  • indexlifted
  • base_time
  • windvwindmax
  • preciprate
  • winduwindmax
  • latitude
  • rhfrztop
  • heightequillevel
  • pressuremsl
  • precipsubgrid3hr
  • precipsubgridacc
  • windvtrop
  • heightgpp
  • cinhib
  • snowdepthwatereq
  • catrain
  • catfreezerain
  • tempdewpt2m
  • windum
  • windup
  • pressuresrf
  • stormrelhelicity
  • windgustspeed
  • heightcldtopconv
  • catsnow
  • precipresolvedacc
  • precipresolved3hr
  • heightcldbase
  • longitude
  • heightgpfrztop
  • pressuremgrid
  • cape
  • pwv
  • runoffsubsrf
  • windv10m
  • pressurewindmax
  • tempp
  • tempm
  • forecast_period
  • caticepellets
  • windvm
  • windvp
  • pressurefrztop
  • snowdepth
  • velocitywm
  • rhp
  • velocitywp
  • heightpbl
  • rhm
  • altimeter
  • time_offset
  • rh2m
  • temppottrop
  • heightsrf
  • windu10m
  • temppot2m
  • heightgpfrz
  • indexliftedbest
  • pressurepgrid
  • windutrop
  • moistsoilavail
  • stormmotionu
  • visibility
  • pressuretrop
  • stormmotionv
  • temp2m
  • heightcldtop
  • tempeqpot
  • sh2m
  • pressuretend
  • pressuretempeqpotmax
  • pressurefrz
  • tempdewptdep2m
  • snowaccum
more

Close this window