How to configure PostScript map in MODE #1111
-
Is there any way of configuring the PostScript map that MODE produces? For example, I am using global GFS and IMERG data. I have a small masking area for verification but the PostScript map it is still global. As a result, the objects plotted in the PostScript map are way too small. If no possible to do in the config file, should I crop GFS, IMERG and Mask? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello, and thank you for your question. Your current issue, having the output .ps file map that has a global domain instead of the masking area that you want to focus on, is the result of your datasets. If one or both of your input datasets contain data for the entire global region, regardless of masking regions, then METplus will display the entire global region. After all, those points outside your mask still contain valid data; you just had METplus ignore them. |
Beta Was this translation helpful? Give feedback.
-
@j-opatz is right, you can definitely regrid your data to a smaller domain if you'd like. However, when it comes to plotting, the "plot_valid_flag = TRUE;" configuration setting in MODE is another option to consider. Here's an example of the effect of running MODE with plot_valid_flag = FALSE (on the left) and TRUE (on the right). Notice that when TRUE, the images are zoomed up the region of valid data. Also note that you can also configure what map data is included in these plots and how it is drawn. The default map plotting data is defined in the ConfigMapData file. One easy way to modify this is literally just copying/pasting the contents of that file to the end of your MODE configuration file. Then you can edit which map datasets are plotted along with the line color, width, and type. |
Beta Was this translation helpful? Give feedback.
-
Thanks for helping! |
Beta Was this translation helpful? Give feedback.
@j-opatz is right, you can definitely regrid your data to a smaller domain if you'd like.
However, when it comes to plotting, the "plot_valid_flag = TRUE;" configuration setting in MODE is another option to consider.
Please search for "plot_valid_flag" in the MODE Chapter of the User's Guide. That should do exactly what you're requesting... zoom the PostScript images up to only the portion of the grid that contains valid data.
Here's an example of the effect of running MODE with plot_valid_flag = FALSE (on the left) and TRUE (on the right). Notice that when TRUE, the images are zoomed up the region of valid data.
Also note that you can also configure what map data is included in these pl…