Commit 5c80b2c6 authored by Uwe Schulzweida's avatar Uwe Schulzweida

Magplot update

parent df85d1a4
......@@ -53,6 +53,7 @@ complextorect -complextorect \
consecsum -consecsum \
consects -consects \
const -const \
contour -contour \
copy -copy \
cos -cos \
covar0 -covar0 \
......@@ -205,6 +206,8 @@ gp2spl -gp2spl \
gradsdes -gradsdes \
gradsdes1 -gradsdes1 \
gradsdes2 -gradsdes2 \
graph -graph \
grfill -grfill \
gridarea -gridarea \
gridboxavg -gridboxavg \
gridboxmax -gridboxmax \
......@@ -295,7 +298,6 @@ lowpass -lowpass \
lsmean -lsmean \
lt -lt \
ltc -ltc \
magplot -magplot \
map -map \
mask -mask \
maskindexbox -maskindexbox \
......@@ -499,6 +501,7 @@ setvar -setvar \
setvrange -setvrange \
setyear -setyear \
setzaxis -setzaxis \
shaded -shaded \
shifttime -shifttime \
showcode -showcode \
showdate -showdate \
......@@ -558,6 +561,7 @@ ssopar -ssopar \
stdatm -stdatm \
stimelogo -stimelogo \
strbre -strbre \
stream -stream \
strgal -strgal \
strwin -strwin \
studentt -studentt \
......@@ -610,6 +614,7 @@ varquot2test -varquot2test \
varrms -varrms \
vct -vct \
vct2 -vct2 \
vector -vector \
vertavg -vertavg \
vertmax -vertmax \
vertmean -vertmean \
......
......@@ -53,6 +53,7 @@ complextorect \
consecsum \
consects \
const \
contour \
copy \
cos \
covar0 \
......@@ -205,6 +206,8 @@ gp2spl \
gradsdes \
gradsdes1 \
gradsdes2 \
graph \
grfill \
gridarea \
gridboxavg \
gridboxmax \
......@@ -295,7 +298,6 @@ lowpass \
lsmean \
lt \
ltc \
magplot \
map \
mask \
maskindexbox \
......@@ -499,6 +501,7 @@ setvar \
setvrange \
setyear \
setzaxis \
shaded \
shifttime \
showcode \
showdate \
......@@ -558,6 +561,7 @@ ssopar \
stdatm \
stimelogo \
strbre \
stream \
strgal \
strwin \
studentt \
......@@ -610,6 +614,7 @@ varquot2test \
varrms \
vct \
vct2 \
vector \
vertavg \
vertmax \
vertmean \
......
......@@ -53,6 +53,7 @@ complextorect -complextorect \
consecsum -consecsum \
consects -consects \
const -const \
contour -contour \
copy -copy \
cos -cos \
covar0 -covar0 \
......@@ -205,6 +206,8 @@ gp2spl -gp2spl \
gradsdes -gradsdes \
gradsdes1 -gradsdes1 \
gradsdes2 -gradsdes2 \
graph -graph \
grfill -grfill \
gridarea -gridarea \
gridboxavg -gridboxavg \
gridboxmax -gridboxmax \
......@@ -295,7 +298,6 @@ lowpass -lowpass \
lsmean -lsmean \
lt -lt \
ltc -ltc \
magplot -magplot \
map -map \
mask -mask \
maskindexbox -maskindexbox \
......@@ -499,6 +501,7 @@ setvar -setvar \
setvrange -setvrange \
setyear -setyear \
setzaxis -setzaxis \
shaded -shaded \
shifttime -shifttime \
showcode -showcode \
showdate -showdate \
......@@ -558,6 +561,7 @@ ssopar -ssopar \
stdatm -stdatm \
stimelogo -stimelogo \
strbre -strbre \
stream -stream \
strgal -strgal \
strwin -strwin \
studentt -studentt \
......@@ -610,6 +614,7 @@ varquot2test -varquot2test \
varrms -varrms \
vct -vct \
vct2 -vct2 \
vector -vector \
vertavg -vertavg \
vertmax -vertmax \
vertmean -vertmean \
......
......@@ -27,55 +27,67 @@ xmlNode *root_node = NULL, *magics_node = NULL, *results_node = NULL;
#endif
int CONTOUR, SHADED, GRFILL, VECTOR, STREAM;
static
void magplot( const char *plotfile, const char *varname, long nlon, long nlat, double *grid_center_lon, double *grid_center_lat, double *array )
void magplot( const char *plotfile, int operatorID, const char *varname, long nlon, long nlat, double *grid_center_lon, double *grid_center_lat, double *array )
{
static int once = 1;
long i;
double dlon = 0, dlat = 0;
char plotfilename[4096];
if ( nlon > 1 )
{
for ( i = 1; i < nlon; ++i ) dlon += (grid_center_lon[i] - grid_center_lon[i-1]);
dlon /= (nlon-1);
}
if ( nlat > 1 )
{
for ( i = 1; i < nlat; ++i ) dlat += (grid_center_lat[nlon*i] - grid_center_lat[nlon*(i-1)]);
dlat /= (nlat-1);
}
sprintf(plotfilename, "%s_%s", plotfile, varname);
#if defined (HAVE_LIBMAGICS)
// open magics
mag_open ();
mag_new ("PAGE");
// set the output device
// mag_setc ("output_format", "pdf");
mag_setc ("output_name", plotfilename);
// Set the input data arrays to magics++
mag_setc("input_field_organization", "REGULAR");
mag_set2r("input_field", array, nlon, nlat);
/*
mag_setc("input_field_organization", "REGULAR");
mag_set2r("input_field_latitudes", grid_center_lat, nlon, nlat);
mag_set2r("input_field_longitudes", grid_center_lon, nlon, nlat);
*/
mag_setr("input_field_initial_latitude", grid_center_lat[0]);
mag_setr("input_field_latitude_step", 0.5);
mag_setr("input_field_latitude_step", dlat);
mag_setr("input_field_initial_longitude", grid_center_lon[0]);
mag_setr("input_field_longitude_step", 0.5);
mag_setr("input_field_longitude_step", dlon);
magics_template_parser( magics_node );
if( once )
{
magics_template_parser( magics_node );
once = 0;
}
results_template_parser(results_node, varname );
//template_parser("new_temp.xml", NULL);
//template_parser("result_template.xml", "temperature");
/* Area specification (SOUTH, WEST, NORTH, EAST ) */
mag_setr ("SUBPAGE_LOWER_LEFT_LATITUDE", -80.0);
mag_setr ("SUBPAGE_LOWER_LEFT_LONGITUDE", -170.0);
mag_setr ("SUBPAGE_UPPER_RIGHT_LATITUDE", 80.0);
mag_setr ("SUBPAGE_UPPER_RIGHT_LONGITUDE", 170.0);
mag_setr ("SUBPAGE_LOWER_LEFT_LATITUDE", 20.0);
mag_setr ("SUBPAGE_LOWER_LEFT_LONGITUDE", -20.0);
mag_setr ("SUBPAGE_UPPER_RIGHT_LATITUDE", 70.0);
mag_setr ("SUBPAGE_UPPER_RIGHT_LONGITUDE", 50.0);
// mag_setr ("SUBPAGE_LOWER_LEFT_LATITUDE", -90.0);
// mag_setr ("SUBPAGE_LOWER_LEFT_LONGITUDE", -180.0);
// mag_setr ("SUBPAGE_UPPER_RIGHT_LATITUDE", 90.0);
// mag_setr ("SUBPAGE_UPPER_RIGHT_LONGITUDE", 180.0);
/* set up the coastline attributes */
......@@ -83,28 +95,68 @@ void magplot( const char *plotfile, const char *varname, long nlon, long nlat, d
// mag_setc ("map_grid_colour", "grey");
/* define the contouring parameters */
// mag_setc ("contour", "on");
// mag_setc ("contour_line_colour", "sky");
// mag_setc ("CONTOUR_HIGHLIGHT_COLOUR", "GREEN");
// mag_setc ("contour_label", "on");
if ( operatorID == SHADED )
{
mag_setc ("contour", "on");
// mag_setc ("contour_line_colour", "sky");
// mag_setc ("CONTOUR_HIGHLIGHT_COLOUR", "GREEN");
mag_setc ("contour_shade", "on");
mag_setc ("contour_shade_method", "area_fill");
mag_setc ("contour_label", "off");
}
else if ( operatorID == CONTOUR )
{
mag_setc ("contour", "on");
// mag_setc ("contour_line_colour", "sky");
// mag_setc ("CONTOUR_HIGHLIGHT_COLOUR", "GREEN");
mag_setc ("contour_shade", "off");
mag_setc ("contour_label", "on");
}
else if ( operatorID == GRFILL )
{
}
mag_cont ();
/* plot the title text and the coastlines */
//mag_text ();
mag_coast ();
mag_close ();
fprintf( stdout,"Exiting From MAGICS after creating %s\n",plotfilename );
#else
cdoAbort("MAGICS support not compiled in!");
#endif
}
#if defined (HAVE_LIBMAGICS)
static
void init_MAGICS( )
{
mag_open();
}
static
void quit_MAGICS( )
{
mag_close ();
fprintf( stdout,"Exiting From MAGICS\n" );
}
#endif
void *Magplot(void *argument)
{
int operatorID;
int varID, recID;
int gridsize;
int gridID;
......@@ -129,6 +181,14 @@ void *Magplot(void *argument)
cdoInitialize(argument);
CONTOUR = cdoOperatorAdd("contour", 0, 0, NULL);
SHADED = cdoOperatorAdd("shaded", 0, 0, NULL);
GRFILL = cdoOperatorAdd("grfill", 0, 0, NULL);
VECTOR = cdoOperatorAdd("vector", 0, 0, NULL);
STREAM = cdoOperatorAdd("stream", 0, 0, NULL);
operatorID = cdoOperatorID();
streamID = streamOpenRead(cdoStreamName(0));
vlistID = streamInqVlist(streamID);
......@@ -172,6 +232,10 @@ void *Magplot(void *argument)
#endif
#if defined (HAVE_LIBMAGICS)
init_MAGICS( );
#endif
while ( (nrecs = streamInqTimestep(streamID, tsID)) )
{
vdate = taxisInqVdate(taxisID);
......@@ -188,7 +252,11 @@ void *Magplot(void *argument)
vlistInqVarName(vlistID, varID, varname);
fprintf( stderr," Creating PLOT for %s\n",varname );
magplot(cdoStreamName(1), varname, nlon, nlat, grid_center_lon, grid_center_lat, array);
if ( operatorID == SHADED || operatorID == CONTOUR || operatorID == GRFILL )
magplot(cdoStreamName(1), operatorID, varname, nlon, nlat, grid_center_lon, grid_center_lat, array);
else
printf("operator not implemented\n");
// break;
}
......@@ -208,8 +276,13 @@ void *Magplot(void *argument)
quit_XMLtemplate_parser( );
#endif
#if defined (HAVE_LIBMAGICS)
quit_MAGICS( );
#endif
cdoFinish();
return (0);
}
......@@ -73,6 +73,8 @@ cdo_SOURCES += Arith.c \
Isosurface.c \
Log.c \
Magplot.c \
Magvector.c \
Maggraph.c \
Maskbox.c \
Mastrfu.c \
Math.c \
......
......@@ -87,11 +87,13 @@ am_cdo_OBJECTS = cdo-cdo.$(OBJEXT) cdo-Arith.$(OBJEXT) \
cdo-Intntime.$(OBJEXT) cdo-Inttime.$(OBJEXT) \
cdo-Intyear.$(OBJEXT) cdo-Invert.$(OBJEXT) \
cdo-Invertlev.$(OBJEXT) cdo-Isosurface.$(OBJEXT) \
cdo-Log.$(OBJEXT) cdo-Magplot.$(OBJEXT) cdo-Maskbox.$(OBJEXT) \
cdo-Mastrfu.$(OBJEXT) cdo-Math.$(OBJEXT) cdo-Merge.$(OBJEXT) \
cdo-Mergegrid.$(OBJEXT) cdo-Mergetime.$(OBJEXT) \
cdo-Merstat.$(OBJEXT) cdo-Monarith.$(OBJEXT) \
cdo-Mrotuv.$(OBJEXT) cdo-Mrotuvb.$(OBJEXT) cdo-Ninfo.$(OBJEXT) \
cdo-Log.$(OBJEXT) cdo-Magplot.$(OBJEXT) \
cdo-Magvector.$(OBJEXT) cdo-Maggraph.$(OBJEXT) \
cdo-Maskbox.$(OBJEXT) cdo-Mastrfu.$(OBJEXT) cdo-Math.$(OBJEXT) \
cdo-Merge.$(OBJEXT) cdo-Mergegrid.$(OBJEXT) \
cdo-Mergetime.$(OBJEXT) cdo-Merstat.$(OBJEXT) \
cdo-Monarith.$(OBJEXT) cdo-Mrotuv.$(OBJEXT) \
cdo-Mrotuvb.$(OBJEXT) cdo-Ninfo.$(OBJEXT) \
cdo-Nmltest.$(OBJEXT) cdo-Output.$(OBJEXT) \
cdo-Outputgmt.$(OBJEXT) cdo-Pinfo.$(OBJEXT) \
cdo-Pressure.$(OBJEXT) cdo-Regres.$(OBJEXT) \
......@@ -361,19 +363,20 @@ cdo_SOURCES = cdo.c Arith.c Arithc.c Arithdays.c Arithlat.c CDItest.c \
Histogram.c Importamsr.c Importbinary.c Importcmsaf.c \
Importobs.c Info.c Input.c Intgrid.c Intgridtraj.c Intlevel.c \
Intlevel3d.c Intntime.c Inttime.c Intyear.c Invert.c \
Invertlev.c Isosurface.c Log.c Magplot.c Maskbox.c Mastrfu.c \
Math.c Merge.c Mergegrid.c Mergetime.c Merstat.c Monarith.c \
Mrotuv.c Mrotuvb.c Ninfo.c Nmltest.c Output.c Outputgmt.c \
Pinfo.c Pressure.c Regres.c Remap.c Remapeta.c Replace.c \
Replacevalues.c Rhopot.c Rotuv.c Runpctl.c Runstat.c Scatter.c \
Seascount.c Seaspctl.c Seasstat.c Selbox.c Select.c \
Seloperator.c Selrec.c Seltime.c Selvar.c Set.c Setbox.c \
Setgatt.c Setgrid.c Sethalo.c Setmiss.c Setrcaname.c Settime.c \
Setzaxis.c Showinfo.c Sinfo.c Smooth9.c Sort.c Sorttimestamp.c \
Specinfo.c Spectral.c Spectrum.c Split.c Splitrec.c Splitsel.c \
Splittime.c Splityear.c SSOpar.c Subtrend.c Templates.c Test.c \
Tests.c Timcount.c Timpctl.c Timselpctl.c Timselstat.c \
Timsort.c Timstat.c Timstat2.c Timstat3.c Tinfo.c Tocomplex.c \
Invertlev.c Isosurface.c Log.c Magplot.c Magvector.c \
Maggraph.c Maskbox.c Mastrfu.c Math.c Merge.c Mergegrid.c \
Mergetime.c Merstat.c Monarith.c Mrotuv.c Mrotuvb.c Ninfo.c \
Nmltest.c Output.c Outputgmt.c Pinfo.c Pressure.c Regres.c \
Remap.c Remapeta.c Replace.c Replacevalues.c Rhopot.c Rotuv.c \
Runpctl.c Runstat.c Scatter.c Seascount.c Seaspctl.c \
Seasstat.c Selbox.c Select.c Seloperator.c Selrec.c Seltime.c \
Selvar.c Set.c Setbox.c Setgatt.c Setgrid.c Sethalo.c \
Setmiss.c Setrcaname.c Settime.c Setzaxis.c Showinfo.c Sinfo.c \
Smooth9.c Sort.c Sorttimestamp.c Specinfo.c Spectral.c \
Spectrum.c Split.c Splitrec.c Splitsel.c Splittime.c \
Splityear.c SSOpar.c Subtrend.c Templates.c Test.c Tests.c \
Timcount.c Timpctl.c Timselpctl.c Timselstat.c Timsort.c \
Timstat.c Timstat2.c Timstat3.c Tinfo.c Tocomplex.c \
Transpose.c Trend.c Trms.c Tstepcount.c Vardup.c Vargen.c \
Varrms.c Vertint.c Vertstat.c Vertwind.c Wct.c Wind.c \
Writegrid.c Writerandom.c Ydayarith.c Ydaypctl.c Ydaystat.c \
......@@ -599,7 +602,9 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Invertlev.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Isosurface.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Log.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Maggraph.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Magplot.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Magvector.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Maskbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Mastrfu.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdo-Math.Po@am__quote@
......@@ -1776,6 +1781,34 @@ cdo-Magplot.obj: Magplot.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cdo-Magplot.obj `if test -f 'Magplot.c'; then $(CYGPATH_W) 'Magplot.c'; else $(CYGPATH_W) '$(srcdir)/Magplot.c'; fi`
cdo-Magvector.o: Magvector.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cdo-Magvector.o -MD -MP -MF $(DEPDIR)/cdo-Magvector.Tpo -c -o cdo-Magvector.o `test -f 'Magvector.c' || echo '$(srcdir)/'`Magvector.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cdo-Magvector.Tpo $(DEPDIR)/cdo-Magvector.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='Magvector.c' object='cdo-Magvector.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cdo-Magvector.o `test -f 'Magvector.c' || echo '$(srcdir)/'`Magvector.c
cdo-Magvector.obj: Magvector.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cdo-Magvector.obj -MD -MP -MF $(DEPDIR)/cdo-Magvector.Tpo -c -o cdo-Magvector.obj `if test -f 'Magvector.c'; then $(CYGPATH_W) 'Magvector.c'; else $(CYGPATH_W) '$(srcdir)/Magvector.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cdo-Magvector.Tpo $(DEPDIR)/cdo-Magvector.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='Magvector.c' object='cdo-Magvector.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cdo-Magvector.obj `if test -f 'Magvector.c'; then $(CYGPATH_W) 'Magvector.c'; else $(CYGPATH_W) '$(srcdir)/Magvector.c'; fi`
cdo-Maggraph.o: Maggraph.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cdo-Maggraph.o -MD -MP -MF $(DEPDIR)/cdo-Maggraph.Tpo -c -o cdo-Maggraph.o `test -f 'Maggraph.c' || echo '$(srcdir)/'`Maggraph.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cdo-Maggraph.Tpo $(DEPDIR)/cdo-Maggraph.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='Maggraph.c' object='cdo-Maggraph.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cdo-Maggraph.o `test -f 'Maggraph.c' || echo '$(srcdir)/'`Maggraph.c
cdo-Maggraph.obj: Maggraph.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cdo-Maggraph.obj -MD -MP -MF $(DEPDIR)/cdo-Maggraph.Tpo -c -o cdo-Maggraph.obj `if test -f 'Maggraph.c'; then $(CYGPATH_W) 'Maggraph.c'; else $(CYGPATH_W) '$(srcdir)/Maggraph.c'; fi`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cdo-Maggraph.Tpo $(DEPDIR)/cdo-Maggraph.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='Maggraph.c' object='cdo-Maggraph.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cdo-Maggraph.obj `if test -f 'Maggraph.c'; then $(CYGPATH_W) 'Maggraph.c'; else $(CYGPATH_W) '$(srcdir)/Maggraph.c'; fi`
cdo-Maskbox.o: Maskbox.c
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cdo-Maskbox.o -MD -MP -MF $(DEPDIR)/cdo-Maskbox.Tpo -c -o cdo-Maskbox.o `test -f 'Maskbox.c' || echo '$(srcdir)/'`Maskbox.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cdo-Maskbox.Tpo $(DEPDIR)/cdo-Maskbox.Po
......
......@@ -106,6 +106,8 @@ void *Invertlev(void *argument);
void *Isosurface(void *argument);
void *Log(void *argument);
void *Magplot(void *argument);
void *Magvector(void *argument);
void *Maggraph(void *argument);
void *Maskbox(void *argument);
void *Mastrfu(void *argument);
void *Math(void *argument);
......@@ -326,7 +328,9 @@ void *Wct(void *argument);
#define IsosurfaceOperators {"isosurface"}
#define LogOperators {"dumplogs", "daylogs", "monlogs", "dumplogo", \
"snamelogo", "scalllogo", "smemlogo", "stimelogo", "sperclogo"}
#define MagplotOperators {"magplot"}
#define MagplotOperators {"contour", "shaded", "grfill"}
#define MagvectorOperators {"vector", "stream"}
#define MaggraphOperators {"graph"}
#define MaskboxOperators {"masklonlatbox", "maskindexbox"}
#define MaskregionOperators {"maskregion"}
#define MastrfuOperators {"mastrfu"}
......@@ -576,6 +580,8 @@ static modules_t Modules[] =
{ Isosurface, NULL, IsosurfaceOperators, CDI_REAL, 1, 1 },
{ Log, NULL, LogOperators, CDI_REAL, 1, 0 },
{ Magplot, NULL, MagplotOperators, CDI_REAL, 1, 1 },
{ Magvector, NULL, MagvectorOperators, CDI_REAL, 1, 1 },
{ Maggraph, NULL, MaggraphOperators, CDI_REAL, 1, 1 },
{ Maskbox, MaskboxHelp, MaskboxOperators, CDI_REAL, 1, 1 },
{ Maskbox, MaskregionHelp, MaskregionOperators, CDI_REAL, 1, 1 },
{ Mastrfu, MastrfuHelp, MastrfuOperators, CDI_REAL, 1, 1 },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment