ARCCSS-extremes / climpact

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

Error in if (cdx.meta$var.name[i] == "rxdday") { : missing value where TRUE/FALSE needed #74

Open JinZarrin opened 3 years ago

JinZarrin commented 3 years ago

Hi, I try to use CMIP6 data to calculate extreme precipitation indices, I delete the lon_bnds and Lat_bnds in the original dataset, but when I run the code, it shows an error like this: Error in if (cdx.meta$var.name[i] == "rxdday") { : missing value where TRUE/FALSE needed. I do not know how to solve it, could you please kindly help me out?

heroldn commented 3 years ago

Is there any way you can send a whole or part of the file you're using?

JinZarrin commented 3 years ago

Is there any way you can send a whole or part of the file you're using?

the attached zip file is my ncfile and code, please kindly check them. Thanks a million for your kind reply. Code&data.zip

heroldn commented 3 years ago

That's just the sample nc file and your wrapper script. Can you send your ACCCESS nc file (can just clip a year off for me to look at).

JinZarrin commented 3 years ago

That's just the sample nc file and your wrapper script. Can you send your ACCCESS nc file (can just clip a year off for me to look at).

Sorry for sending the wrong ncfile, here is my own CMIP6 data, which I delete the lon_bnds and lat_bnds. And I try to delete time_bnds like you said in #75, but that problem still exist. pr_day_ACCESS-CM2_ssp126_r1i1p1f1_gn_20410101-20411231.nc.zip

heroldn commented 3 years ago

I can run that file with a single year fine. Can you try that same file to be sure. And have you tested the sample file?

JinZarrin commented 3 years ago

I can run that file with a single year fine. Can you try that same file to be sure. And have you tested the sample file?

Yeah, I tried the one-year data, and what surprised me is that it works well, but when I run my original file which includes 24-year data, the problem still there. Unfortunately, I can't attach my data here because of the file volume limitation. Can I ask is there any other way I can send you my original dataset? 截屏2021-04-22 下午11 11 52

heroldn commented 3 years ago

There are several services that let you send large files for free I believe, if you're part of a university network they might have their own too. Or google drive would do it. Depends how big the file is.

On 23/04/2021 15:12 JinZarrin ***@***.***> wrote:

Yeah, I tried the one-year data, and what surprised me is that it works well, but when I run my original data which is 24-year data, the problem still there. Unfortunately, I can't attach my data here because of the file volume limitation. Can I ask is there any other way I can send you my original dataset?
[截屏2021-04-22 下午11 11 52] https://user-images.githubusercontent.com/81920359/115821531-2c775b00-a3c0-11eb-9f48-fb2478a72068.png

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ARCCSS-extremes/climpact/issues/74#issuecomment-825390845 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACW3FAOPYIZ5L65KV2VXWWDTKD6UXANCNFSM43NXMHXQ .
JinZarrin commented 3 years ago

There are several services that let you send large files for free I believe, if you're part of a university network they might have their own too. Or google drive would do it. Depends how big the file is. On 23/04/2021 15:12 JinZarrin @.***> wrote: Yeah, I tried the one-year data, and what surprised me is that it works well, but when I run my original data which is 24-year data, the problem still there. Unfortunately, I can't attach my data here because of the file volume limitation. Can I ask is there any other way I can send you my original dataset? [截屏2021-04-22 下午11 11 52] https://user-images.githubusercontent.com/81920359/115821531-2c775b00-a3c0-11eb-9f48-fb2478a72068.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub #74 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACW3FAOPYIZ5L65KV2VXWWDTKD6UXANCNFSM43NXMHXQ .

I use google drive to share my original data with your email address notifications@github.com, I'm not sure whether you received it or not? Thanks a lot for your time and help. I'm starting working on the indices calculation for my PhD research, so will ask a lot of questions, thanks for your patient.

heroldn commented 3 years ago

No worries. That's not my address, can you try @.***

On 23/04/2021 15:40 JinZarrin ***@***.***> wrote:

    > > 
    There are several services that let you send large files for free I believe, if you're part of a university network they might have their own too. Or google drive would do it. Depends how big the file is.
    …
    On 23/04/2021 15:12 JinZarrin @.***> wrote: Yeah, I tried the one-year data, and what surprised me is that it works well, but when I run my original data which is 24-year data, the problem still there. Unfortunately, I can't attach my data here because of the file volume limitation. Can I ask is there any other way I can send you my original dataset? [截屏2021-04-22 下午11 11 52] https://user-images.githubusercontent.com/81920359/115821531-2c775b00-a3c0-11eb-9f48-fb2478a72068.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub #74 (comment) https://github.com/ARCCSS-extremes/climpact/issues/74#issuecomment-825390845 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACW3FAOPYIZ5L65KV2VXWWDTKD6UXANCNFSM43NXMHXQ .

> 

I use google drive to share my original data with your email address @. @. , I'm not sure whether you received it or not? Thanks a lot for your time and help. I'm starting working on the indices calculation for my PhD research, so will ask a lot of questions, thanks for your patient.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ARCCSS-extremes/climpact/issues/74#issuecomment-825401000 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACW3FALHGX4M6CXGCN3QFQLTKEB3HANCNFSM43NXMHXQ .
JinZarrin commented 3 years ago

@.***

Sorry, I can't see your email address, it just shows some stars, which seems to be hidden. Maybe you can send me a notification to my email jin17@ualberta.ca, then I can catch your email address?

ghost commented 1 year ago

I got the same error

heroldn commented 1 year ago

@ninglk can you send some data?