Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S s2dverification
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • s2dverification
  • Issues
  • #115
Closed
Open
Issue created Nov 25, 2015 by Chloé Prodhomme@cprodhommeDeveloper

Problem with PlotEquiMap

Hi,

With the new version and or library of PlotEquiMap the coast line is drawn in a very strange way, it is like square, it is not very obvious if you do not use the multi-panel but it's still there. If you use the option Filled.Continent the plots are more or less normal. Here the test code:

library(s2dverification)
postscript("~/test.ps")
layout(t(array(seq(9),dim=c(3,3))))
    
PlotEquiMap(array(0, dim=c(256,512)), seq(0,359.296875,0.703125), seq(89.6484375,-89.6484375,-0.703125),filled.continents=TRUE, drawleg=FALSE,axelab = F, labW = F, toptitle="filled continent")

PlotEquiMap(array(0, dim=c(256,512)), seq(0,359.296875,0.703125), seq(89.6484375,-89.6484375,-0.703125),filled.continents=FALSE, drawleg=FALSE,axelab = F, labW = F, toptitle="no filled continent")

dev.off()

The figure is attached heretest.ps

And an old figure that I have done I think at the end of April, just fr you to have an idea of the difference: ~cprodhomme/Documents/paper/paper-hires/version0/JJA_bias.ps

I don't manage any more to run this version of the function (which is I think the one I use to generate this figure): ls /home/Earth/cprodhom/tools/s2dverification_develop/s2dverification/R/PlotEquiMap.R

because I am getting this error:

PlotEquiMap(array(0, dim=c(256,512)), seq(0,359.296875,0.703125), seq(89.6484375,-89.6484375,-0.703125),filled.continents=TRUE, drawleg=FALSE,axelab = F, labW = F, toptitle="filled continent", brks=c(-1,0,1), cols=c("white","white"))
Error in PlotEquiMap(array(0, dim = c(256, 512)), seq(0, 359.296875, 0.703125),  : 
  could not find function "setPROJ"
In addition: Warning message:
In data(coastmap, envir = environment()) : data set ‘coastmap’ not found

@nmanubens Do you think all of this could be linked with the library changes, since we are at BSC? Could you have a look?

Thank a lot for your help.

Best regards.

Chloé

People: @eexarchou @obellprat @mmenegoz @fmassonnet @nevensf @vguemas @dvolpi @jgarcia @lpcaron @rcruzgar

Assignee
Assign to
Time tracking