On 2020-08-18 22:59 +0900, Joon-Taek Yoo wrote:
| Dear Helpers,
| I am trying to draw a map of East Asia 
| using the getNOAA.bathy () 
| function(package marmap) in R. I'v got 
| a following error message.
| 
| > dat <- getNOAA.bathy(110, 160, 20, 60, res=4, keep=T)
| Querying NOAA database ...
| This may take seconds to minutes, depending on grid size
| Error in .local(.Object, ...) :
|   schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE
| (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is
| received (e.g. handshake failed).
| 
| I appreciate any hint. Please could 
| you help me.

Dear Joon-Taek,

perhaps «turning off» SSL helps, by 
setting these options:

        options("ssl_verifyhost"=0, "ssl_verifypeer"=0)

I get another error (with SSL turned 
on):

        > dat <- marmap::getNOAA.bathy(110, 160, 20, 60, res=4, keep=T)
        Registered S3 methods overwritten by 'adehabitatMA':
          method                       from
          print.SpatialPixelsDataFrame sp
          print.SpatialPixels          sp
        Querying NOAA database ...
        This may take seconds to minutes, depending on grid size
        Error in if (ncol(x) == 3 & !exists("bathy", inherits = FALSE)) { :
          argument is of length zero

How do I even know what x is there, or 
if "bathy" exists ...

Best,
Rasmus

Attachment: signature.asc
Description: PGP signature

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to