[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000321: segmentation violation running Sun SC5.0 built GRDDISP
- Subject: 20000321: segmentation violation running Sun SC5.0 built GRDDISP
- Date: Tue, 21 Mar 2000 15:56:30 -0700
>From: Adam Burnett <address@hidden>
>Organization: Colgate
>Keywords: 200003211526.IAA03801 McIDAS-X Sun F77 SC5.0 mcgget.for LDM NOGRIB.CF
G gbtbpds001.av1 request regular expression
Adam,
>Looks like that did the trick. GRDDISP seem to work now without the
>segmentation violation.
Very good.
>I am still having a bit of trouble with the FKEY
>menu however. When I use the option for plotting North American model data,
>I'm told that McIDAS cannot find the grid. When I use the GRDDISP command,
>I seem to have all the grids.
I decided to check this out by doing the following:
DATALOC ADD RTGRIDS GISSUN.COLGATE.EDU
DSINFO GRID RTGRIDS
Dataset Names of Type: GRID in Group: RTGRIDS
Name NumPos Content
------------ ------ --------------------------------------
ALL 500 Real-Time Grids
AVN 80 Real-Time AVN Grids
ECMWF 10 Real-Time ECMWF Grids
ETA 40 Real-Time ETA Grids
MDR 10 Real-Time MDR Grids
MISC 10 Other Real-Time Grids
MRF 100 Real-Time MRF Grids
MRF-UW 2 MRF Grids in UW stream
NGM 40 Real-Time NGM Grids
NGM-UW 2 NGM Grids in UW stream
RUC 80 Real-Time RUC Grids
DSINFO -- done
GRDLIST RTGRIDS/ALL.ALL FORM=FILE
DATASET NAME: RTGRIDS/ALL
Dataset Position Creation Date Max Grids Directory Title
---------------- ------------- --------- -------------------------------
1 2000081 2000 Misc. Grids for 21 MAR 2000
131 2000081 2000 ALL 00Z MRF 72 HR< VT<=96 HR
141 2000081 2000 ALL 00Z MRF > 96 HR
301 2000081 24 MDR data for 21 MAR 2000
401 2000081 2000 ALL 00Z AVN 0 HR<=VT<=24 HR
411 2000081 2000 ALL 00Z AVN 24 HR< VT<=48 HR
421 2000081 2000 ALL 00Z AVN 48 HR< VT<=72 HR
431 2000081 2000 ALL 12Z AVN 0 HR<=VT<=24 HR
441 2000081 2000 ALL 12Z AVN 24 HR< VT<=48 HR
451 2000081 2000 ALL 12Z AVN 48 HR< VT<=72 HR
GRDLIST - done
The 'DSINFO GRID RTGRIDS' command lists back the datasets that are _defined_.
It does not tell you if you actually have data in those sets.
The 'GRDLIST RTGRIDS/ALL.ALL FORM=FILE' command asks for a listing of
all of the GRIDs that you _have_ on your system. As you can see from
the list, you only have Miscellaneous, MRF, AVN, and MDR (the manually
digitized radar (MDR) is filed as a grid). You are missing NGM, ETA,
and MAPS (RUC) grids. The 'North America - Horizontal' action from the
main Fkey menu is setup to work on NGM grids. This is why your Fkey
menu is failing.
>Do I need to modify the fkey environment?
We need to find out why you are not decoding NGM, ETA, and RUC grids.
For the Fkey menu, we need to find out why you are not decoding NGM
only.
>This reminds me of another question. Is there a way to limit in the ldm
>operation the grids I decode?
The decoding would be done in XCD which does have a way to say which
grids you want decoded and which you want ignored.
A secondary answer is that there is a way in your LDM to not request
gridded data that you do not want. This has the beneficial effect of
decreasing the amount of data that is being passed from your upstream
feed site to your machine. We can get into this after the other
problems are solved.
>For example, what if I want only NGM grids
>and I don't want ETA. I've always used the generic decoding of all grids.
>Do I have such control?
Yes, you do. What you need to do is examine the XCD file NOGRIB.CFG.
The top of NOGRIB.CFG says:
# this file contains the list of grib messages that should NOT
# be decoded by the system. The format is as follows:
...
The idea in NOGRIB.CFG is that the uncommented entries are the grids
that should not be decoded into McIDAS GRID files. The format of
NOGRIB.CFG as it is sent out in the McIDAS-X distriibution is:
#83 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
#86 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
#89 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
89 |-1 | -1 | -1 | -1 | 207| 207 | -1 | -1 | -1 | -1
#77 |-1 | -1 | -1 | -1 | 37 | 44 | -1 | -1 | -1 | -1
#78 |-1 | -1 | -1 | -1 | 37 | 44 | -1 | -1 | -1 | -1
#39 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
#64 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
#39 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
#64 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
#77 |-1 | -1 | -1 | -1 | 21 | 26 | -1 | -1 | -1 | -1
#78 |-1 | -1 | -1 | -1 | 21 | 26 | -1 | -1 | -1 | -1
77 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
78 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
81 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
77 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
78 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
80 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
81 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
82 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
85 |-1 | -1 | -1 | -1 | 215 | 215 | -1 | -1 | -1 | -1
The lines that do not begin with a '#' sign are the ones that say which
grids to _not_ decode (seems kinda backwards, but that is the way it
is).
The top of NOGRIB.CFG lays out what the various fields mean. The first
column is:
# position description
# 1 process id the message comes in under
# The value to put in this position is the value that is
# stored in the 5th octet of the PDS of the GRIB message
# Common Values Model
The numbers for the ETA grids are 83, 84, 85, and 89. To turn off
all of these grids, you would uncomment the '#83' line and add
similar ones for 83, 84, 85, and 89:
83 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
84 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
85 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
89 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
Since there is already an entry for the 30 km ETA on the 215 grid,
you should comment it out when you add the '85' entry above.
You can see from the default listing that some grids come in on
different projections:
78 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
78 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
78 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
78 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
81 |-1 | -1 | -1 | -1 | 211 | 211 | -1 | -1 | -1 | -1
81 |-1 | -1 | -1 | -1 | 203 | 203 | -1 | -1 | -1 | -1
To get a better idea of all of the grids that could be coming into
your system, check out ~mcidas/workdata/gbtbpds001.av1. The entries
in this file that are currently possible are:
002 | Ultra Violet Potential Index Model | UV
005 | Sat. derived Precip and temp from IR | SPT
010 | Global Wind-Wave Forecast Model | WWFM
015 | Bracknell Winds ? | BRAK
019 | Limited Area Fine Mesh analysis (LFM) | LFM
025 | Snow cover analysis | SNOW
039 | Nested Grid Forecast Model (NGM) | NGM
042 | Global Optimal Interpolation analysis from aviation run | GOI
043 | Global Optimal Interpolation analysis from final run | GOI
044 | Sea Surface Temperature analysis | SST
045 | Coastal Ocean Circulation Model | COCM
049 | Ozone Analysis from TIROS observations | OZON
052 | Ozone Analysis from Nimbus-7 observations | OZON
053 | LFM Fourth Order Forecast Model | LFM4
064 | Regional Optimum Interpolation Analysis | NGM
068 | 80 Wave triangular, 18-layer spectral model from aviation run | AVN
069 | 80 Wave triangular, 18-layer spectral model from MRF run | MRF
070 | Quasi-Lagrangian Hurricane Model (QLM) | QLM
073 | Fog Forecast model - Ocean Product Center | FFM
074 | Gulf of Mexico Wind/Wave | GMWW
075 | Gulf of Alaska Wind/Wave | GAWW
076 | Bias corrected Medium Range Forecast Model | MRFB
077 | 126 wave triangular, 18-layer Spectral Model from aviation run | AVN
078 | 126 wave triangular, 18-layer Spectral Model from MRF run | MRF
079 | Backup from previous run | BACK
080 | 62 wave triangular, 18-layer Spectral Model from MRF run | MRF
081 | Spectral Statistical Interpolation from aviation run | AVN
082 | Spectral Statistical Interpolation from final run | MRF
083 | ETA Model - 80 km version | ETA
084 | ETA Model - 40 km version | ETA
085 | ETA Model - 30 km version | ETA
086 | MAPS Model - FSL | MAPS
087 | CAC Ensemble Forecasts from Spectral (ENSMB) | CAC
088 | Ocean Wave model with additional physics | PWAV
089 | ETA Model - 48 km version | ETA
090 | 62 Wave triangular, 28 layer 'Medium Range Forecast' | MRF
091 | 62 Wave triangular, 28 layer 'Aviation' | AVN
092 | 62 Wave triangular, 28 layer 'Medium Range Forecast' final | MRF
093 | 62 Wave triangular, 28 layer 'GDAS' | MRF
100 | RUC Surface Analysis (scale 60km at 40N) | MAPS
101 | RUC Surface Analysis (scale 40km at 40N) | MAPS
105 | RUC Model from FSL (isentropic: 40km at 40N) | MAPS
110 | ETA Model - 15 km version | ETA
132 | European Center For Medium Range Weather Forecasting Model | ECMF
141 | European Center For Medium Range Weather Forecasting Model | ECMF
150 | NWS River Forecast System (NWSRFS) | RFS
151 | European Center For Medium Range Weather Forecasting Model | ECMF
152 | European Center For Medium Range Weather Forecasting Model | ECMF
153 | WSR-88D Stage III Precipitation analysis | WSR3
161 | European Center For Medium Range Weather Forecasting Model | ECMF
181 | European Center For Medium Range Weather Forecasting Model | ECMF
182 | European Center For Medium Range Weather Forecasting Model | ECMF
183 | European Center For Medium Range Weather Forecasting Model | ECMF
184 | European Center For Medium Range Weather Forecasting Model | ECMF
190 | European Center For Medium Range Weather Forecasting Model | ECMF
191 | European Center For Medium Range Weather Forecasting Model | ECMF
192 | European Center For Medium Range Weather Forecasting Model | ECMF
193 | European Center For Medium Range Weather Forecasting Model | ECMF
194 | European Center For Medium Range Weather Forecasting Model | ECMF
The reason that there are so many entries for the ECMWF models is that
the model number keeps changing.
Let's assume that you only want to decode NGM grids and no others.
Your NOGRIB.CFG file would look like:
002 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
005 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
010 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
015 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
019 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
025 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
042 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
043 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
044 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
045 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
049 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
052 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
053 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
068 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
069 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
070 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
073 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
074 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
075 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
076 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
077 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
078 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
079 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
080 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
081 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
082 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
083 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
084 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
085 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
086 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
087 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
088 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
089 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
090 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
091 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
092 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
093 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
100 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
101 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
105 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
110 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
132 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
141 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
150 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
151 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
152 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
153 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
161 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
181 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
182 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
183 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
184 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
190 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
191 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
192 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
193 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
194 |-1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1
If you look at this listing, you will see that the only grids that are
missing are '39' and '64'. '39' is the 'Nested Grid Forecast Model (NGM)'
and '64' is Regional Optimum Interpolation Analysis'.
After you backup your current NOGRIB.CFG (copy it to something like
NOGRIB.CFG.default) and modify it as per the guidelines above, you will
have to stop and restart your McIDAS-XCD GRIB data monitor, DMGRID:
<assumed you are still logged on as 'mcidas'>
cd workdata
decinfo.k SET DMGRID INACTIVE
<wait until DMGRID is no longer running: look at the ouput of
'ps -eaf | grep DMGRID'>
<reactivate DMGRID>
decinfo.k SET DMGRID ACTIVE
The second part of my answer to your question is related to how you
would only request a subset of the gridded products through your LDM.
This will require that you edit your ~ldm/etc/ldmd.conf file to
modify the request line for the HRS data feed.
To see how things are setup on your system, I just logged onto your
machine as 'ldm' and took a look at your ~ldm/etc/ldmd.conf file.
I see right off that you are requesting a subset of 'UNIDATA' from
your upstream feed site, vortex.weather.brockport.edu:
request UNIDATA "(^[A-OQ-X])|(^YZ].[^AHIJRU])" vortex.weather.brockport.edu
This may well be the cause of you not getting any NGM, ETA, etc. grid
data, but I am not sure. Where did you get this action?
>I promise to stop asking questions soon.
Asking questions is the only way to learn about this stuff. Please don't
feel that these are an imposition.
Tom
>From address@hidden Wed Mar 22 06:30:48 2000
>Subject: 20000321: segmentation violation running Sun SC5.0 built GRDDISP
>Keywords: 200003211526.IAA03801 McIDAS-X Sun F77 SC5.0 mcgget.for LDM
>NOGRIB.CFG gbtbpds001.av1 request regular expression
Thanks for all the information. As to your question of where I got the
action:
request UNIDATA "(^[A-OQ-X])|(^YZ].[^AHIJRU])" vortex.weather.brockport.edu
I think this was the action I've been using since the beginning of time.
Although, I may have changed it and not realized it. I will check this out.
Thanks
Adam