mojtabasadegh/Global_Heatwave_and_Warm_Spell_Toolbox

Some questions with GHWT and GHWR codes.

minxuanzheng6 opened this issue · 0 comments

Sorry for disruption. I found GHWR very useful, and thank you for your work.
There are some questions I have encountered.

  1. I downloaded tmax.2016.nc, and convert it to a 720x360x366 single mat.
    I put them in the ...\GHWR_Codes\datafile, and run the cal_EHF.m in the ...\GHWR_Codes\EHF method\TMAX,

the procession is as following:
EHF method- scale (1)1 data file name(data_tmax,data_tmin,data_tmean)tmax_2016 error using cal_EHF (line 22) '...\GHWR_Codes\datafile\tmax_2016.mat' no exist 'data'。

  1. I opened GHWT.m, and used tmax.2016.nc, tmax.2017.nc, tmax.2018.nc,and tmax.2019.nc. I chose a country and extract data. I used EHF method, and denote the begin year and end year 2016 and 2019. However, it prompts that:
    The function 'datetime' does not define an input parameter of type 'char'.

I wonder if you can give detailed help. Thank you very much.