ARGANS / shellfish_and_algae-MODEL

0 stars 0 forks source link

Warning about unknown services when importing data #2

Closed nmaltsev closed 2 years ago

nmaltsev commented 2 years ago

I got the following warnings that affect other scripts - other pipeline steps failed:

2022-08-02 14:44:54.569 [ INFO] Authenticating user mjaouen for service https://nrt.cmems-du.eu/motu-web/Motu
2022-08-02 14:44:55.358 [ INFO] Requesting file to download (this can take a while)...
2022-08-02 14:45:01.012 [ERROR] 010-30 : The requested service is unknown: 'IBI_ANALYSISFORECAST_PHY_005_001-TDS'
2022-08-02 14:45:01.316 [ INFO] Asynchronous mode set
2022-08-02 14:45:01.317 [ INFO] Authenticating user mjaouen for service https://nrt.cmems-du.eu/motu-web/Motu
2022-08-02 14:45:02.810 [ INFO] Requesting file to download (this can take a while)...
2022-08-02 14:45:08.457 [ERROR] 010-30 : The requested service is unknown: 'IBI_ANALYSISFORECAST_PHY_005_001-TDS'
2022-08-02 14:45:08.727 [ INFO] Asynchronous mode set
2022-08-02 14:45:08.729 [ INFO] Authenticating user mjaouen for service https://nrt.cmems-du.eu/motu-web/Motu
2022-08-02 14:45:09.447 [ INFO] Requesting file to download (this can take a while)...
2022-08-02 14:45:15.057 [ERROR] 010-30 : The requested service is unknown: 'IBI_ANALYSISFORECAST_PHY_005_001-TDS'
2022-08-02 14:45:15.349 [ INFO] Asynchronous mode set
2022-08-02 14:45:15.350 [ INFO] Authenticating user mjaouen for service https://nrt.cmems-du.eu/motu-web/Motu
2022-08-02 14:45:16.168 [ INFO] Requesting file to download (this can take a while)...
2022-08-02 14:45:21.791 [ERROR] 010-30 : The requested service is unknown: 'IBI_ANALYSISFORECAST_PHY_005_001-TDS'

I have specified the datasets shown below "datasets": { "Temperature": { "service-id": "IBI_ANALYSISFORECAST_PHY_005_001-TDS", "product-id": "cmems_mod_nws_phy-t_anfc_7km-3D_P1D-m", }, "Nitrate": { "service-id": "IBI_ANALYSISFORECAST_BGC_005_004-TDS", "product-id": "cmems_mod_ibi_bgc_anfc_0.027deg-3D_P1M-m", }, "Ammonium": { "service-id": "IBI_ANALYSISFORECAST_BGC_005_004-TDS", "product-id": "cmems_mod_ibi_bgc_anfc_0.027deg-3D_P1M-m", }, "Phosphate": { "service-id": "IBI_ANALYSISFORECAST_BGC_005_004-TDS", "product-id": "cmems_mod_ibi_bgc_anfc_0.027deg-3D_P1M-m", }, "eastward_Water_current": { "service-id": "IBI_ANALYSISFORECAST_PHY_005_001-TDS", "product-id": "cmems_mod_ibi_phy_anfc_0.027deg-3D_P1D-m", }, "northward_Water_current": { "service-id": "IBI_ANALYSISFORECAST_PHY_005_001-TDS", "product-id": "cmems_mod_ibi_phy_anfc_0.027deg-3D_P1D-m", }, "par": { "Name": "NASA Ocean Colour 2021, filled", } }

qjutard commented 2 years ago

I found the information CMEMS provides on this error:

""" [ERROR] 010-30 : The requested service is unknown:

There are several things to verify to fully understand this error message: product's name (--service-id) dataset's name (--product-id) --motu server you are connecting to (http://nrt.cmems-du.eu/motu-web/Motu or http://my.cmems-du.eu/motu-web/Motu)

Indeed, MOTU command line parameters are case sensitive and a placement error may lead to this error message. """

qjutard commented 2 years ago

This means that the dataset name can be the actual cause, at line 83 of the current dataCmd.csv it is: cmems_mod_nws_phy-t_anfc_7km-3D_P1D-m

This is a NWS dataset when it should be an IBI one, I will fix that and other similar mistakles I can find.

qjutard commented 2 years ago

I could not find similar issues. Does https://github.com/ARGANS/shellfish_and_algae-MODEL/commit/6d122c77948f11722fa9d4fcc53e59f41631e02d fix the problem ?

nmaltsev commented 2 years ago

I can't reproduce the bug