Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sckende opened this issue Jan 21, 2022 · 0 comments
Open

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

Sckende opened this issue Jan 21, 2022 · 0 comments

Comments

@Sckende
Copy link

Sckende commented Jan 21, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant