clstoulouse / motu-client-python

Motu is a high efficient and robust Web Server which fills the gap between heterogeneous data providers to end users. Motu handles, extracts and transforms oceanographic huge volumes of data without performance collapse. This client enables to extract and download data through a python command line.
GNU Lesser General Public License v3.0
49 stars 22 forks source link

Quiet switch non fully working on v 1.5.0 #5

Closed fmarzocca closed 6 years ago

fmarzocca commented 6 years ago

In v.1.5.0, when launching this command line:

$HOME/motu-client/motu-client.py -s MEDSEA_ANALYSIS_FORECAST_WAV_006_011-TDS -x -10 -X 36.5 -y 30 -Y 46 -t "2018-04-07" -T "2019-04-07" -v VHM0 -v VMDR -v VTM10 -q -o console

the output is not reporting only the resulting url but it also adds 3 lines of:

dname=<my motu-client home>

clstoulouse commented 6 years ago

Yes there is an issue with version 1.5.0, please patch with what is written in the release notes: https://github.com/clstoulouse/motu-client-python/releases

I have tried this command which works successfully:

./motu-client.py -u $USER_NAME -p $USER_PASSWORD -m http://nrt.cmems-du.eu/motu-web/Motu -s MEDSEA_ANALYSIS_FORECAST_WAV_006_017-TDS -d sv04-med-hcmr-wav-an-fc-h -x -10 -X 36.5 -y 30 -Y 46 -t "2018-04-07" -T "2019-04-07" -v VHM0 -v VMDR -v VTM10 -q -o console waiting....then URL of the result is displayed: http://nrt.cmems-du.eu/mis-gateway/deliveries/sv04-med-hcmr-wav-an-fc-h_1523277498813.nc

fmarzocca commented 6 years ago

I applied the patch and now it is working fine! Thanks

clstoulouse commented 6 years ago

Great! Thanks for your feedback!