ARCCSS-extremes / climpact

Calculate the ET-SCI climate extremes indices
GNU General Public License v3.0
42 stars 29 forks source link

argument is of length zero ERROR: argument is of length zero #116

Open aseemsharma1 opened 2 months ago

aseemsharma1 commented 2 months ago

When I run climpact for multiple stations (online or desktop) version I get the error argument is of length zero ERROR: argument is of length zero for some of the stations. I could not figure out why as it works for some stations and through error for other stations with very similar data. Any suggestions? I am attaching the screenshot of error from the online version of climpact and text files with data and metadata. I enter everything as default after metadata. test_stn.txt test_stn_metadata.txt

error metadata
heroldn commented 2 months ago

I don't have time to investigate right now but at a glance your data looks weird. There are tmins of down to -33 degrees or lower and tmaxs of 30 degrees or higher. Not that this should be related to the error, but perhaps the extreme climate is causing a problem somewhere.

On 25/04/2024 08:55 ACST Aseem Sharma @.***> wrote:

When I run climpact for multiple stations (online or desktop) version I get the error argument is of length zero ERROR: argument is of length zero for some of the stations. I could not figure out why as it works for some stations and through error for other stations with very similar data. Any suggestions? I am attaching the screenshot of error from the online version of climpact and text files with data and metadata. I enter everything as default after metadata. test_stn.txt https://github.com/ARCCSS-extremes/climpact/files/15101930/test_stn.txt test_stn_metadata.txt https://github.com/ARCCSS-extremes/climpact/files/15101931/test_stn_metadata.txt error.PNG (view on web) https://github.com/ARCCSS-extremes/climpact/assets/81317394/078a1881-3d09-43ae-bafb-26b40da75f01 metadata.PNG (view on web) https://github.com/ARCCSS-extremes/climpact/assets/81317394/efa92169-8002-4a01-9669-378d034acd2f

— Reply to this email directly, view it on GitHub https://github.com/ARCCSS-extremes/climpact/issues/116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACW3FAPAVBL5K5MBKFVKZNTY7A5N3AVCNFSM6AAAAABGX2CN7KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DEMZUGMYDMMQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

aseemsharma1 commented 2 months ago

Thank you, the data are within expected range and thus correct as also seen in this plot . test_stn_temp_plt