[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #NGM-207442]: mcidas



Hi Sepide,

re:
> i uploaded a file on :
> http://climate.eng.uci.edu/private/

OK, thanks.  FYI: I did not need a user name or password to grab the
file:

goes07.1990.365.2101.AREA_VIS 04-Sep-2010 04:09   64M  

I created an input dataset for this image; an output netCDF (NCDF)
dataset for the netCDF copy, and did the copy with no problems:

<as 'mcidas'>

cd $MCDATA

dsserve.k ADD TEST/G7VIS AREA DIRFILE=goes07* "GOES-7 VIS image from Sepide 
Sarachi
dsserve.k ADD NCDF/IMAGES NCDF 1 9999 TYPE=IMAGE "TEST NETCDF OUTPUT DATASET

imgcopy.k TEST/G7VIS NCDF/IMAGES.1 SIZE=SAME

NB:

- the netCDF file created by the IMGCOPY command is _large_:

  -rw-rw-r-- 1 mcidas ustaff 799870516 Dec 20 15:27 IMAGE0001.nc

- the indicated Latitude and Longitude for those image pixels that do
  not cover the earth (in space) will look bogus while the indicated
  Latitudes and Longitudes for those pixels that cover the earth look good.
  Here is a snippit from the ncdump output that shows a sequence of
  three latitudes in space followed by 3 latitudes over the earth:

  2.143289e+09, 2.143289e+09, 2.143289e+09, 8.771258, 8.761329, 8.753597,
     ^              ^             ^            ^         ^         ^______ lat 
over land
     |              |             |            |         |________________ lat 
over land
     |              |             |            |__________________________ lat 
over land
     |              |             |_______________________________________ in 
space
     |              |_____________________________________________________ in 
space
     |____________________________________________________________________ in 
space

So, you can convert the entire image to a netCDF using the SIZE=SAME keyword 
sequence,
and the location values for pixels over the earth look good.

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: NGM-207442
Department: Support McIDAS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.