[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[McIDAS #SMX-272962]: mcidas question
- Subject: [McIDAS #SMX-272962]: mcidas question
- Date: Mon, 04 Oct 2010 13:54:05 -0600
Hi Sepide,
re:
> i finally made one dataset by myself from my visible data in vis directory.
> so i have one set of IR data and one set of visible data.
Very good.
re:
> for now i just need the visible data that i checked the bands and they just
> have one band.
OK.
re:
> the dataset i made is TEST/GOES, and the band is BAND: 1 0.65 um VIS Cloud
> and Surface Features.
OK, so it really is the visible channel.
re:
> i tried to make an output data set for visible data so instead of
> dsserve.k ADD NCDF/GOES7IR NCDF 1 9999 TYPE=IMAGE \"GOES-7 images in netCDF
> format
> should i write
> dsserve.k ADD NCDF/GOES7VIS NCDF 1 9999 TYPE=IMAGE \"GOES-7 images in netCDF
> format
Yes.
re:
> because the program doesn't understand it.
I just logged into your account on tormenta and ran the DSSERVE command you
listed
above for VIS data and the dataset was created with no problems:
<as 'sepide' on tormenta>
cd $MCDATA
dsserve.k ADD NCDF/GOES7VIS NCDF 1 9999 TYPE=IMAGE \"GOES-7 images in netCDF
format
Group/Descriptor Type Format & Range RT Comment
------------------------ ----- ------------------ -- --------------------
NCDF/GOES7IR IMAGE NCDF 1-9999 GOES-7 images in netCDF for
mat
NCDF/GOES7VIS IMAGE NCDF 1-9999 GOES-7 images in netCDF for
mat
dsserve.k: done
What problem did you see?
re:
> also our locations are:
>
> 1: Belem -1.38 S -48.48 W
> 2: Amacayaca -3.66 S -69.95 W
> 3: Iquito -3.75 S -73.25 W
> 4: Tambopata -12.65 S -69.2 W
> 5: Fazenda -9.86 S -56.1 W
> 6: Cayyene 4.83 N -52.36 W
> 7: kenia -16.14 S -62.1 W
OK.
Question:
- how large of an area do you want to cover over each location?
This will determine how many lines and elements you need to specify
in each IMGCOPY invocation.
Example:
Here is an example IMGCOPY invocation that will create an output netCDF
file for GOES-7 VIS data centered over Belem (Brazil?). The size of
the image will be 300 lines by 600 elements:
<still as 'sepide'>
cd $MCDATA
imgcopy.k TEST/GOES NCDF/GOES7VIS.1 LATLON=-1.38 48.48 SIZE=300 600
This will create the file GOES7VIS0001.nc in your McIDAS working
directory (the value of the MCDATA environment variable).
Comments:
- you must always specify the dataset position number for the output dataset.
This is the '.1' in the 'NCDF/GOES7VIS.1' of the IMGCOPY invocation. This
position number gets encoded into the name of the output file:
GOES7VIS0001.nc
^^^^_ - 0001 <-> .1
- if you don't specify the position number of the image in the input dataset,
the most recent image in the set will be used. In the example above, the
image from 06:31 on 1 Jan 1990 will be used as the input image.
If you want to specify which input image to use, you can do this either
by dataset position number or by the image's time.
Consider:
imglist.k TEST/GOES.ALL
Image file directory listing for:TEST/GOES
Pos Satellite/ Date Time Center Band(s)
sensor Lat Lon
--- ------------- ------------ -------- ---- ---- ------------
1 GOES-7 1 JAN 90001 00:31:00 -9 108 1
2 GOES-7 1 JAN 90001 01:31:00 -9 108 1
3 GOES-7 1 JAN 90001 02:31:00 -9 108 1
4 GOES-7 1 JAN 90001 03:31:00 -9 108 1
5 GOES-7 1 JAN 90001 05:31:00 -9 108 1
6 GOES-7 1 JAN 90001 06:31:00 -9 108 1
imglist.k: done
To copy the 01:31 image into the 3rd position of the output dataset,
you could use either of the following two examples:
imgcopy.k TEST/GOES.2 NCDF/GOES7VIS.3 LATLON=-1.38 48.48 SIZE=300 600
OR
imgcopy.k TEST/GOES NCDF/GOES7VIS.3 LATLON=-1.38 48.48 SIZE=300 600
Either invocation will create the file named GOES7VIS0003.nc in your
McIDAS working directory.
Cheers,
Tom
--
****************************************************************************
Unidata User Support UCAR Unidata Program
(303) 497-8642 P.O. Box 3000
address@hidden Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage http://www.unidata.ucar.edu
****************************************************************************
Ticket Details
===================
Ticket ID: SMX-272962
Department: Support McIDAS
Priority: Normal
Status: Closed