Skip to content

Equal sign appearing in YYYY-MM-DD HH:MM:SS format #2

@Sckende

Description

@Sckende

Hi,

thanks a lot for this helpfull package. I already downloaded several data based on date with a "YYY-MM-DD" format. However, I'm actually struggling to download data with a "YYYY-MM-DD HH:MM:SS" format.

parm_vars <- RCMEMS::CMEMS.config(
      motu = "https://my.cmems-du.eu/motu-web/Motu",
      python = ".../Python/Python310/python.exe",
      script = ".../Python/Python310/Scripts/motuclient-script.py",
      user = user_name,
      pwd = mdp,
      auth.mode = "cas",
      longitude.min = 10,
      longitude.max = 155,
      latitude.min = -55,
      latitude.max = 31,
      service.id = "WIND_GLO_WIND_L4_REP_OBSERVATIONS_012_006-TDS",
      product.id = "CERSAT-GLO-BLENDED_WIND_L4_REP-V6-OBS_FULL_TIME_SERIE",
      date.min = "2017-04-30 06:00:00",
      date.max = "2017-05-01 00:00:00",
      variable = eastward_wind, 
      out.dir = dossier_vars,
      out.name = paste("WIND_GLO_WIND_L4_REP_OBSERVATIONS_012_006-TDS__", eastward_wind, ".nc", sep ="")
    )

RCMEMS::CMEMS.download(parm_vars)

I obtain the following error from Python (I guess):

motuclient: error: argument --date-min/-t: invalid parse value: '2017-04-30=06:00:00'

I tried several things but I definitly don't understand why there is an '=' instead of a space in my request.

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions