[NARCCAP-discuss] Need help in getting RCM data in text format
Seth McGinnis
mcginnis at ucar.edu
Thu Mar 22 16:35:45 MDT 2012
Hi Somsubhra,
The best way to do that really depends on what you want to do with the data
after you've extracted it. To extract data for a rectangular subregion, rather
than a single point, you can specify ranges of array indices instead of single
values. See the FAN documentation for details:
http://www.unidata.ucar.edu/software/netcdf/fan_utils.html . That will give
you four grid points, so you'll have to figure out a way to discard the values
from the one you don't want. You may find it simpler to extract the data for
each of the three locations separately, and then combine them in whatever
software you're using to process the data.
I believe that ncdump and nc2text work just fine on Windows 7, but they're
command-line utilities without a GUI, so you need to invoke them from the
command prompt. To access the command prompt in Windows 7, you can click the
Start button and search for "command prompt" or "cmd".
Cheers,
--Seth
On Fri, 16 Mar 2012 15:18:28 -0400
Somsubhra chattopadhyay <som.agrotech at gmail.com> wrote:
>Hi
>
>I tried to download the RCM3 data for my study watershed in North Carolina
>following the instructions but found that the area essentially covers 3
>grid points (3 sets of coordinates) . Could you guide me how to extract
>data for that case because in the website they just demonstrate extracting
>data for a pair of single grid coordinate.
>
>On a different note when I downloaded a sample data file (RCM3 driven by
>GFDL) of daily maximum temperature and tried to view/open the data using
>ncdump tool as discussed in the website, the ncdump screen just opens and
>instantly closes for me. It does not stay even permanently. The same
>problem occurs with nc2text utility. Does the ncdump and nc2text work on
>Windows 7 OS?
>
>So I am just wondering what might be going wrong.
>
>I appreciate any suggestions.
>
>Best
>Somsubhra
>
>--
>Thanks and Regards,
>Somsubhra Chattopadhyay
>Graduate Research Assistant
>Water Resource Research Group
>Department of Civil Engineering
>North Carolina A&T State University
>Greensboro, North Carolina
>Email: schattop at aggies.ncat.edu
>_______________________________________________
>narccap-discuss mailing list
>narccap-discuss at mailman.ucar.edu
>http://mailman.ucar.edu/mailman/listinfo/narccap-discuss
More information about the narccap-discuss
mailing list