Re: About changing from old GKS to NCAR-GKS

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 10 2013 - 12:16:43 MDT

Hi Fuyuko,

I apologize that I did not have time to find the little GK-2000 manual that I mentioned to Mary, but I can tell you that if you need any kind of input from your GKS library,
NCAR-GKS is not going to work for you. As Mary stated earlier NCAR GKS conforms to the 0A specification of the standard. The letter 'A' means there is no input
capability. Here is an explanation of the various GKS levels that I extracted from an document on the web (http://ro.uow.edu.au/cgi/viewcontent.cgi?article=1060&context=compsciwp - page 89):

7.6. Levels of Implementation

It is clear from the previous sections that GKS is a comprehensive graphics system containing most of the features required by the applications programmer. This in itself will mean that GKS is quite large and, for simple applications, it is feasible that a great deal of unneces- sary complexity is available in GKS. In this case, the user would like to use only a subset of the facilities available in GKS. This is achieved through the level structure.

GKS has nine levels defined by three different choices on each of two axes. The two axes are approximately defined by input and by all other functions. The definition of the input choices are:

(a) No input functions allowed.
(b) Only REQUEST input allowed.
(c) REQUEST, SAMPLE and EVENT input are all allowed.

The definitions of the choices on the other axis are:
(0) Minimal output - all the output primitives are available but the meaning of primitive index values cannot be changed. The installation default settings
must be used. There is at least one settable normalization transformation. Only one output workstation is allowed at a time.
(1) The main additions over (0) are the ability to specify the primitive index representations, the ability to have more than one output workstation active at a time, the ability to use segments and multiple nor
malization transformations.
(2) This allows the workstation independent segment storage facilities to be used.

The simplest GKS implementation is, therefore, Level Oa which allows output to a single workstation at any given time.

---------

In actual fact, NCAR-GKS meets many of the requirements of level 2A, because it does allow multiple workstations at a time, and it has workstation independent segment storage. I am not sure what is missing
with regard to a complete 2A implementation, but with regard to input, NCAR-GKS is definitely at the A level, meaning no input capability.
 -dave

On Oct 10, 2013, at 8:16 AM, Mary Haley <haley@ucar.edu> wrote:

> Dear Fuyuko,
>
> I'm including Dave Brown on this message. He told me yesterday that he
> is familiar with GK-2000, and mentioned an interactive capability that
> sounds similar to your locator question below. He thinks he has pocket
> manual on GK-2000 that might answer some of your questions.
>
> --Mary
>
>
> On Oct 10, 2013, at 3:05 AM, Fuyuko Ohdan <fuohdan@toyo-rubber.co.jp> wrote:
>
>> Dear Mary,
>>
>> Thank you for your response and cooperation for me.
>>
>> I guess that NCAR-GKS will work on our software without too much problems, because
>> I can found same subroutine names in the Table B1. NCAR GKS Fortran Calls...
>> http://www.ncarg.ucar.edu/gks/appendices.html#AppendixE
>>
>> However, I am concerned about the locator input.
>> For example, I cannot find GINLC, GRQLC in the Table.
>> GINLC : Initialize locator
>> GRQLC : To request locator
>>
>> Can I get a coordinate on the graphics window using the locator?
>> Does NCAR-GKS have some functions to input?
>>
>> Yours truly,
>> Fuyuko Ohdan
>>
>>
>> -----Original Message-----
>> From: Mary Haley [mailto:haley@ucar.edu]
>> Sent: Thursday, October 10, 2013 6:00 AM
>> To: オオダンフユコ 大段冬子
>> Cc: ncarg-talk@ucar.edu
>> Subject: Re: About changing from old GKS to NCAR-GKS
>>
>> Dear Fuyuko Ohdan,
>>
>> Our GKS package meets the requirements of the GKS level 0A standard that was documented in 1985.
>>
>> You can see the documentation of our GKS package at:
>>
>> http://www.ncarg.ucar.edu/gks/contents.html
>>
>> I do not know what NOVA*GKS is, but if it follows the level 0A standard, then, yes, it shouldn't be too much trouble to replace it with our package.
>>
>> We actually reference NOVA Graphics International in Appendix E of our GKS documentation, so that's a good sign.
>>
>> I googled "GK-2000" and "GK 2000 GKS" but didn't come up with any useful hits.
>>
>> The conceivable problem that you could run into is if your GKS requires a "higher" level than level 0A.
>>
>> Other than that, the GKS package should compile just fine on a Linux, Mac, or Cygwin/X Windows system.
>>
>> You can see some actual code of our GKS Fortran and C examples at:
>>
>> http://www.ncarg.ucar.edu/examples.html#GKSExamples
>>
>> --Mary
>>
>>
>>
>> On Oct 9, 2013, at 2:35 AM, Fuyuko Ohdan <fuohdan@toyo-rubber.co.jp> wrote:
>>
>>> To NCARG-TALK
>>>
>>> Hello, I am Fuyuko Ohdan, posting from Japan.
>>>
>>> My office has some programs which are written in UNIX / Motif / GKS (language: C and Fortran).
>>> And now, we have to consider to change the machine from UNIX to Linux in the future, maybe in next 5 years.
>>>
>>> The GKS which we are using is no longer supported, and will not work on a new Linux machine.
>>> So I am looking for a new GKS package which works both UNIX and Linux.
>>>
>>> Now I found your site.
>>> I read “User's Guide for NCAR GKS-0A Graphics / Appendix B. NCAR GKS-0A Subroutine Subset” roughly.
>>> Almost subroutine names are the same as our GKS routines.
>>> So I expect that we can change the GKS package without troublesome work.
>>>
>>> Current our UNIX is Solaris 10.
>>> The first GKS we had got was GK-2000 from USA (about 20 years ago). And later, we changed it to NOVA*GKS(Japan).
>>> We could change from GK-2000 to NOVA*GKS easily because subroutine names were the same, we were required minimal customize at that time.
>>>
>>> I have some questions.
>>> • Do you think it’s easy to change the old GKS package to NCAR GKS?
>>> • What is conceivable problems?
>>>
>>> I expect it is easy to change from old GKS to NCAR-GKS.
>>>
>>> Yours truly,
>>>
>>>
>>> Fuyuko Ohdan
>>> Toyo Tire & Rubber Co. Ltd.
>>>
>>>
>>>
>>> _______________________________________________
>>> ncarg-talk mailing list
>>> ncarg-talk@ucar.edu
>>> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>>
>
Received on Thu Oct 10 12:16:50 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:42:50 MST