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

20050202: GeoTIFF output from McIDAS ADDE server



>From: address@hidden
>Organization: GMU
>Keywords: 200501201830.j0KIUJv2013893 McIDAS AREA GeoTIFF ADDE

Hi Ying,

I apologize for not being able to get back to you on this before now...

>In case you didn't get my previous email, could you tell me how to setup
>RTIMAGES on my machine, as described below?

The procedure is pretty simple and is included as part of the installation
steps listed in the Unidata McIDAS-X User's Guide:

http://www.unidata.ucar.edu/content/software/mcidas/2004/users_guide/toc.html

Here is a quick step by step:

- make sure to setup file REDIRECTions that tell McIDAS where to read/write
  data files:

<as 'mcidas'>

cd ~mcidas/data
cp EXAMPLE.NAM LOCAL.NAM
<edit LOCAL.NAM and set the directories to match your setup>

cd ~mcidas/workdata
redirect.k REST LOCAL.NAM

- create ADDE datasets for the data that are decoded by XCD and/or
  ldm-mcidas decoders:

<as 'mcidas'>

cd ~mcidas/data
cp DSSERVE.BAT LSSERVE.BAT
cp DATALOC.BAT LOCDATA.BAT

Edit LSSERVE.BAT and change anything you need to change; NOTE that you
may need to make modifications in LSSERVE.BAT to match where you setup
ldm-mcidas decoders to create output files!

- define the McIDAS string (a McIDAS-specific environment variable) XCDDATA:

cd ~mcidas/workdata
te.k XCDDATA \"/data/mcidas   <- or wherever you setup McIDAS-XCD decoders
                                 to create their output.  If you did not
                                 setup XCD, this would be the directory
                                 you specified in an ldm-mcidas pqact.conf
                                 entry that runs 'pnga2area' and specifies
                                 the '-r\1,\2' flag.  If you did not set
                                 this up, you should define XCDDATA to
                                 be your ~ldm/data directory (making
                                 sure to fully specify the directory location)

- now use the McIDAS BATCH command to create the dataset definitions that
  are listed in LSSERVE.BAT:

dataloc.k ADD RTIMAGES LOCAL-DATA
batch.k LSSERVE.BAT           <- *** this creates McIDAS ADDE datasets

At this point, you (as 'mcidas') should be able to use data files
that are part of the RTIMAGES dataset.  Here is a quick example:

cd ~mcidas/workdata
dsinfo.k IMAGE RTIMAGES

If this works (it should if everything was done correctly), list out
images from the dataset:

imglist.k RTIMAGES/GE-IR.ALL

If this works, then you are ready to go.


Finally, if users other than 'mcidas' will want to run McIDAS and
access the datasets you just defined, it is best and easiest to setup
the McIDAS ADDE remote server:

<as 'root'>

- create a user named 'mcadde'.  This user should have the same HOME
  directory as 'mcidas' but NOT be a login account.

- setup the system-specific files used in the ADDE remote server:

cd ~mcidas
sh ./mcinet2004.sh install mcadde

- create the file ~mcidas/.mcenv.  This is most easily done by:

<as 'mcidas'>

cd ~mcidas
cp admin/mcadde_env.ksh .mcenv
chmod 664 .mcenv

Now make sure that the PATH specified in .mcenv includes the directory
that contains the 'compress' and 'uncompress' utilities.  If these
were not installed on your system (e.g., non-full install of Linux),
you may have to install the utilities.

>Thank you so much!

No worries.  Please let me know if this gets you going.

Again, I am sorry that this took so long.

Cheers,

Tom
--
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.