You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I save the TG90P index as nc format. But I open the nc file and find the type of TG90P is numpy.timedelta64. The expected type is numpy.
What I Did
I calculated the TG90P by ssp585_tas_p90 = xclim.core.calendar.percentile_doy(tas_AWI_CM_ssp585.tas,per=90) AWI_CM_ssp585_TG90P = xclim.indicators.atmos.tg90p(tas='tas',tas_per=ssp585_tas_p90,freq='YS',ds=tas_AWI_CM_ssp585) and save as the nc format as ssp585_tas_p90.to_netcdf('/home/workdir/WHs_Climate/future/cmip6/indexs/AWI_CM_ssp585_tg90P_p90.nc') AWI_CM_ssp585_TG90P.to_netcdf('/home/workdir/WHs_Climate/future/cmip6/indexs/AWI_CM_ssp585_TG90P.nc')
What I Received
This value is not intuitive, it should be a "number of days" greater than a certain threshold.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Generic Issue
Description
I save the TG90P index as nc format. But I open the nc file and find the type of TG90P is numpy.timedelta64. The expected type is numpy.
What I Did
I calculated the TG90P by
ssp585_tas_p90 = xclim.core.calendar.percentile_doy(tas_AWI_CM_ssp585.tas,per=90) AWI_CM_ssp585_TG90P = xclim.indicators.atmos.tg90p(tas='tas',tas_per=ssp585_tas_p90,freq='YS',ds=tas_AWI_CM_ssp585)
and save as the nc format asssp585_tas_p90.to_netcdf('/home/workdir/WHs_Climate/future/cmip6/indexs/AWI_CM_ssp585_tg90P_p90.nc') AWI_CM_ssp585_TG90P.to_netcdf('/home/workdir/WHs_Climate/future/cmip6/indexs/AWI_CM_ssp585_TG90P.nc')
What I Received
This value is not intuitive, it should be a "number of days" greater than a certain threshold.
Code of Conduct
The text was updated successfully, but these errors were encountered: