[ncl-talk] Error in regridding SMAP Freeze Thaw binary data

JETAL SUTARIYA jetal164 at email.arizona.edu
Tue Feb 1 17:51:04 MST 2022


Hi NCL Community,

I am trying to regrid the SMAP L3 Freeze thaw 36 km data to NLDAS grid
(1/8th degree). I have already converted data from EASE grid to regular
lat/lon grids separately.
But SMAP freeze thaw contains binary data i.e. 0 if grid is non-frozen and
1 if grid is frozen so when I regrid the file; I get different values
between 0 and 1,
for eg., 0.05755893, 0.3908837, 0.7242084,
    0.8300187, 0.496694, 0.1633693, 0, 0, 0, 0, 0, 0, _, _, _, _, _, 0, 0,
0,
    0.007007165, 0.02686451, 0.04672185, 0.045869, 0.02601166, 0.006154316,
    0.01370303, 0.03356037, 0.05341771, 0.03917314, 0.0193158, 0, 0, 0, 0,
0,
    0, 0.007237409, 0.02709475, 0.04695209, 0.04563876, 0.02578142.
This is incorrect since the data should be binary in the regridded freeze
thaw variable.
Does anybody have an idea how to reflect that while regridding?

I have attached a few files here: 1) ncl script that I used to complete
this task, 2) Screenshots of the PrintVarSummary error of input and gridded
variable 3) Screenshot of output variable which is not binary.

Any suggestions are very helpful.
Thanks,
Jetal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220201/a93423d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Error_regridding_SMAP_Freezethaw.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 365187 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220201/a93423d6/attachment-0001.docx>


More information about the ncl-talk mailing list