[ncl-talk] Adding two arrays - with missing values in different rows and columns

Dennis Shea shea at ucar.edu
Sat Apr 2 12:01:54 MDT 2022


Last login: Sat Apr  2 11:54:11 on console
You have new mail.
/Users/shea >tcsh
/Users/shea >ls =lrt
ls: =lrt: No such file or directory
/Users/shea >ls -lrt
total 87328
drwxr-xr-x     5 shea  2200       160 Apr 20  2009 Text/
drwxr-xr-x    18 shea  2200       576 Jun 25  2010 LOGOS/
drwxr-xr-x     6 shea  2200       192 Sep 15  2010 SOLAR/
drwxr-xr-x     4 shea  2200       128 Oct 28  2010 CECILE/
drwxr-xr-x     5 shea  2200       160 Feb 17  2011 CSU_nomination/
drwxr-xr-x    16 shea  2200       512 Mar  9  2011 HVL/
drwxr-xr-x    34 shea  2200      1088 Mar 22  2011 RivieraCondo/
-rw-r--r--     1 shea  2200      2807 Apr  4  2011 remap_elements_2d.xml
drwxr--r--     2 shea  2200        64 Jun 28  2011 PHOOEY/
drwxr-xr-x     3 shea  2200        96 Dec 21  2011 JIRA/
drwxr-xr-x    24 shea  2200       768 Feb 23  2012 IGCDS/
drwxr-xr-x     6 shea  2200       192 Jul  5  2012 RETI/
drwxr-xr-x     2 shea  2200        64 Nov 24  2012 CDO/
drwxr-xr-x     3 shea  2200        96 May 28  2013 SVN_INFO/
drwxr-xr-x     2 shea  2200        64 Aug 12  2014 NCO/
drwxr-xr-x    36 shea  2200      1152 Dec  5  2014 NMF/
-rw-r--r--     1 shea  2200     90063 Jan 14  2015 composite.png
-rw-r--r--     1 shea  2200     10648 Jan 24  2015 moncov.nhland.txt
-rw-r--r--     1 shea  2200     76240 Jan 27  2015 W2_2014.042180.pdf
-rw-r--r--     1 shea  2200      8005 Jan 31  2015
Grib_NetCDF_Gap_01.txt_excerpts
-rw-r--r--     1 shea  2200       738 Feb  4  2015 Grib_NetCDF_gap.txt
-rw-r--r--     1 shea  2200      4492 Feb  5  2015
Grib_NetCDF_Gap_01.comments
-rw-r--r--     1 shea  2200       717 Feb 26  2015 avhrr.ncl
-rw-r--r--     1 shea  2200      4792 Feb 26  2015 read_allpixel_sub.f
-rw-r--r--     1 shea  2200       162 Feb 26  2015 README.nevison.gz
-rw-r--r--     1 shea  2200       750 Feb 26  2015 Melouck.txt
-rw-r--r--     1 shea  2200     17142 Mar  4  2015 darwin
-rw-r--r--     1 shea  2200     17142 Mar  4  2015 tahiti
-rw-r--r--     1 shea  2200      3274 Mar  5  2015 3B-MO.GPM.dump
-rw-r--r--     1 shea  2200       339 Mar 16  2015 q.c
drwxr-xr-x     4 shea  2200       128 Mar 18  2015 C_PlusPlus/
drwxr-xr-x    37 shea  2200      1184 Mar 18  2015 ghostscript-9.05/
drwxr-xr-x     5 shea  2200       160 Mar 18  2015 French/
drwxr-xr-x     5 shea  2200       160 Mar 18  2015 ncargtest/
drwxr-xr-x    32 shea  2200      1024 Mar 18  2015 Work/
drwxr-xr-x     6 shea  2200       192 Mar 18  2015 Sites/
drwxr-xr-x     5 shea  2200       160 Mar 18  2015 RegCNET_PostProc/
drwxr-xr-x     6 shea  2200       192 Mar 18  2015 R_Workshop/
drwxr-xr-x     7 shea  2200       224 Mar 18  2015 Public/
drwx------     6 shea  2200       192 Mar 18  2015 Music/
-rw-r--r--     1 shea  2200       107 Mar 19  2015 ToDo
-rw-r--r--     1 shea  2200      6136 Mar 19  2015
dump.ta_Amon_GFDL-CM3_rcp85_r1i1p1_200601-201012.txt
-rw-r--r--     1 shea  2200      9571 Mar 19  2015
dump.ta_6hrLev_GFDL-CM3_rcp85_r1i1p1_2100010100-2100123123.txt
-rw-r--r--     1 shea  2200      5133 Mar 19  2015
dump.ps_Amon_GFDL-CM3_rcp85_r1i1p1_200601-201012.txt
-rw-r--r--     1 shea  2200      6629 Mar 29  2015 out.MERRA
-rw-r--r--     1 shea  2200      1474 Apr  7  2015 y.kamal.email
-rw-r--r--     1 shea  2200      1706 Apr  9  2015 dump.SSTICE.Update.unf
-rw-r--r--     1 shea  2200      1957 Apr  9  2015 coast_land_NearNbor.f
-rw-r--r--     1 shea  2200      3726 Apr  9  2015 consistent.f
-rw-r--r--     1 shea  2200      4376 Apr  9  2015 SSTICE.f
drwxr-xr-x    29 shea  2200       928 Apr 15  2015 Matlab/
-rw-r--r--     1 shea  2200     35792 Apr 27  2015 gtk-fortran_cfwrapper.py
drwxr-xr-x    10 shea  2200       320 Jul 21  2015 ZAGAR/
-rw-r--r--     1 shea  2200      1162 Jul 24  2015 test.ncl
-rw-r--r--     1 shea  2200     27141 Sep  6  2015 compdemo.pdf
-rw-r--r--     1 shea  2200      1558 Oct 15  2015 README.NCL_install
-rw-r--r--     1 shea  2200       891 Oct 16  2015 README.yellow_testncl
-rw-r--r--     1 shea  2200       287 Oct 31  2015 speedtest.txt
drwxr-xr-x     7 shea  2200       224 Dec 23  2015 Applications/
drwx------     6 shea  2200       192 Jan 10  2016 Movies/
-rw-r--r--     1 shea  2200      1212 Jan 18  2016 dbetaslatec.response
-rw-r--r--     1 shea  2200       356 Feb 28  2016 PASSPORT.tex
-rw-r--r--     1 shea  2200      4118 Mar 10  2016 z.ESMValTool
-rw-r--r--     1 shea  2200      1397 Mar 10  2016 g_martins.ncl
-rw-r--r--     1 shea  2200       850 Mar 29  2016 z.stst_list
-rw-r--r--     1 shea  2200        60 Apr  8  2016 z.wind
-rw-r--r--     1 shea  2200       315 Apr 14  2016 tst.wen.ncl
drwxr-xr-x     2 shea  2200        64 Apr 18  2016 CGD/
-rw-r--r--     1 shea  2200       416 Apr 21  2016 lantao.comment
-rw-r--r--     1 shea  2200       471 May  4  2016 Boulder_Weekly.schedule
-rw-r--r--     1 shea  2200       310 May 16  2016 BillGray.txt
-rw-r--r--     1 shea  2200       732 Jun 13  2016 Steve.txt
-rw-r--r--     1 shea  2200      1167 Jun 15  2016
Retirement.WorkAgreement.txt
-rw-r--r--     1 shea  2200    109350 Jun 23  2016 [ncl-talk] ESMF regrid -
shea at ucar.edu - NCAR|UCAR Mail.html
-rw-r--r--     1 shea  2200        52 Jul 12  2016 z.EXT_VAL.tag
-rw-r--r--     1 shea  2200     12524 Jul 19  2016 mjoclivar_14.ncl
-rw-r--r--     1 shea  2200      1216 Jul 19  2016 wget_mjo.ncl
-rw-r--r--     1 shea  2200       132 Jul 26  2016 README.svn_remove
-rw-r--r--     1 shea  2200      2514 Jul 29  2016 demo_marston.ncl
drwxr-xr-x    19 shea  2200       608 Jul 30  2016 PPT/
-rw-r--r--     1 shea  2200        38 Aug  8  2016 z.bergen
-rw-r--r--     1 shea  2200        92 Aug 22  2016 RV.info
-rw-r--r--     1 shea  2200      2114 Aug 23  2016 README.svn
-rw-r--r--     1 shea  2200       464 Sep 15  2016 git_keygen.sh
drwxr-xr-x    24 shea  2200       768 Oct 17  2016 NCL/
drwxr-xr-x    15 shea  2200       480 Nov  3  2016 devel/
-rw-r--r--     1 shea  2200      1109 Nov 10  2016 test.ncl.1
-rwxrwxrwx     1 shea  2200       236 Nov 17  2016 keygen*
-rw-r--r--     1 shea  2200      1917 Nov 28  2016 decimalPlaces.ncl
-rw-r--r--     1 shea  2200      1730 Dec 10  2016 test_str.ncl
-rw-r--r--     1 shea  2200     26352 Dec 22  2016 heat.png
-rw-r--r--     1 shea  2200      1727 Dec 28  2016 z.esmf
-rw-r--r--     1 shea  2200       290 Jan  6  2017 z.ncl
-rw-r--r--     1 shea  2200       599 Jan 20  2017 dir_check_make.ncl
-rw-r--r--     1 shea  2200   3155218 Jan 23  2017 out.gps.gz
-rw-r--r--     1 shea  2200      6439 Jan 23  2017 out.gps
-rw-r--r--     1 shea  2200     13050 Jan 24  2017 equiv_lat.idl_2
-rw-r--r--     1 shea  2200      3056 Jan 24  2017 equiv_lat.idl_1
-rw-r--r--@    1 shea  2200     11676 Jan 24  2017 nc_eqlat_utils.f90
drwxr-xr-x     5 shea  2200       160 Jan 28  2017 SSA/
-rw-r--r--     1 shea  2200      3847 Feb  7  2017 wgt_vertical_n.ncl
-rw-r--r--     1 shea  2200     10250 Feb 10  2017 y.yyy
-rw-r--r--     1 shea  2200    330110 Feb 10  2017 gfed_5_1_lg.png
-rw-r--r--     1 shea  2200      3881 Feb 14  2017 dim_minmax.ncl
-rwxr-xr-x     1 shea  2200  22119481 Feb 15  2017
Miniconda2-latest-MacOSX-x86_64.sh*
drwxr-xr-x    14 shea  2200       448 Feb 22  2017 miniconda2/
-rw-r--r--     1 shea  2200      1185 Feb 26  2017 w.txt
drwxr-xr-x    35 shea  2200      1120 Mar  1  2017 Conferencing/
-rw-r--r--     1 shea  2200      5449 Mar  1  2017 regline_wgt.ncl
-rw-r--r--     1 shea  2200       679 Mar  8  2017 gibson.ncl
-rw-r--r--     1 shea  2200      1497 Mar 14  2017 z.schomp.txt
-rw-r--r--     1 shea  2200      2981 Mar 24  2017 SPECX_ENSEMBLE.ncl
-rw-r--r--     1 shea  2200      1216 Mar 25  2017 foo.foo
-rw-r--r--     1 shea  2200      3162 Mar 27  2017 test_isconstant.ncl
-rwxr-xr-x     1 shea  2200      9488 Mar 27  2017 foo.so*
-rw-r--r--     1 shea  2200      1110 Mar 27  2017 z.abc
-rw-r--r--     1 shea  2200       417 Mar 27  2017 foo.f
-rw-r--r--     1 shea  2200   8294400 Mar 29  2017
viirs_meandbdi_gridded_statis2015048.dat
-rw-r--r--     1 shea  2200       116 Apr  6  2017 winnie.txt
-rw-r--r--     1 shea  2200   2111910 May  2  2017 test.HDF
-rw-r--r--     1 shea  2200        31 May 30  2017 z.handy
-rw-r--r--     1 shea  2200       706 Jun  7  2017 z.schae_email
-rw-r--r--     1 shea  2200      4148 Jun 19  2017 spec.ncl_orig
-rw-r--r--     1 shea  2200        30 Jun 20  2017 z.ToDo
-rw-r--r--     1 shea  2200      3816 Jun 26  2017 Notaro.txt
-rw-r--r--     1 shea  2200     86901 Jun 26  2017 hdf4eos_7.png
-rw-r--r--     1 shea  2200       498 Jun 26  2017 z.non_linear.txt
-rw-r--r--     1 shea  2200      1563 Jul  2  2017 z.Roka
-rw-r--r--     1 shea  2200       495 Jul 24  2017 z.haley
-rw-r--r--     1 shea  2200        62 Jul 26  2017 z.err
-rw-r--r--     1 shea  2200       140 Aug  1  2017 z.thick
-rw-r--r--     1 shea  2200        11 Aug 10  2017 z.spicey_spaghetti
-rw-r--r--     1 shea  2200    125754 Aug 10  2017 o3_day_mean.000.png
-rw-r--r--     1 shea  2200    146628 Aug 10  2017 wrf.o3_day_mean.000.png
drwxr-xr-x    17 shea  2200       544 Aug 17  2017 bin/
-rw-r--r--     1 shea  2200      1430 Oct 29  2017 z_if_doc_manual.text
-rw-r--r--     1 shea  2200       330 Nov  5  2017 z.rol_email
-rw-r--r--     1 shea  2200      3670 Dec  6  2017 tst_elseif.ncl
-rw-r--r--     1 shea  2200      3980 Dec  8  2017 terray.clmDayTLLL.ncl
-rw-r--r--     1 shea  2200      4793 Dec 10  2017 z.foo
-rw-r--r--     1 shea  2200       211 Dec 11  2017 z.tiaa
-rw-r--r--@    1 shea  2200      3994 Dec 12  2017 beata.ETo_turc.ncl
-rw-r--r--     1 shea  2200      2566 Dec 12  2017 tst.daylight_fao56.ncl
-rw-r--r--     1 shea  2200     14009 Dec 15  2017
calculate_segment_values.ncl
drwxr-xr-x     3 shea  2200        96 Dec 27  2017 C_Code/
-rw-r--r--     1 shea  2200      2388 Dec 31  2017 z.krish
-rw-r--r--     1 shea  2200      1834 Jan 24  2018 z.CubaList.txt
drwx------    13 shea  2200       416 Jan 24  2018 Pictures/
drwxr-xr-x     3 shea  2200        96 Jan 26  2018 GIT_STUFF/
drwxr-xr-x    19 shea  2200       608 Jan 31  2018 ncld/
-rw-r--r--     1 shea  2200      1884 Feb  3  2018 z.JerryPotter
-rw-r--r--     1 shea  2200       841 Feb  4  2018 zz.zzz
-rw-r--r--     1 shea  2200      2867 Feb  9  2018 cmc_ncl_talk.ncl
-rw-r--r--     1 shea  2200     12187 Feb 10  2018 eady_growth_rate.xml
-rw-r--r--     1 shea  2200      3551 Feb 13  2018 eady_growth_rate.ncl
-rw-r--r--     1 shea  2200      3388 Feb 15  2018 pot_temp_equiv.ncl
-rw-r--r--     1 shea  2200       609 Mar 22  2018 zzz.zzz
-rw-r--r--     1 shea  2200       260 Mar 26  2018 mle.data
-rw-r--r--     1 shea  2200      1076 Mar 26  2018
Quara.language_comment.text
-rw-r--r--     1 shea  2200       202 Mar 27  2018 z.tst.ncl
-rw-r--r--     1 shea  2200      1429 Apr  8  2018 y.ObjOri
-rw-r--r--     1 shea  2200      1259 Apr  8  2018 y.hist
-rw-r--r--     1 shea  2200     10229 Apr  9  2018 pot_vort.ncl
-rw-r--r--     1 shea  2200      4129 Apr 19  2018 z.open
-rw-r--r--     1 shea  2200        94 Apr 22  2018 z.tab
-rw-r--r--     1 shea  2200      1039 Apr 23  2018 z.unique_30
-rw-r--r--     1 shea  2200    114610 Apr 23  2018 chaos.png
-rw-r--r--     1 shea  2200      2438 Apr 23  2018 chaos.ncl
-rw-r--r--     1 shea  2200        60 Apr 28  2018 z.Tracey_Tuttle
-rw-r--r--     1 shea  2200      2320 Apr 30  2018 z.grads_draft
drwxr-xr-x    57 shea  2200      1824 May  2  2018 grib2/
-rw-r--r--     1 shea  2200        60 May  2  2018 z.bayes
-rw-r--r--     1 shea  2200      2796 May  9  2018 leg_22.ncl
-rwxr-xr-x     1 shea  2200      4412 May  9  2018 char_png.py*
-rw-r--r--     1 shea  2200       852 May  9  2018 z.sball
-rw-r--r--     1 shea  2200       239 May 13  2018 z.roster
-rw-r--r--     1 shea  2200       792 May 14  2018 z.cam_snow
-rw-r--r--     1 shea  2200      1603 May 16  2018 z.ncl-history
drwxr-xr-x    11 shea  2200       352 May 17  2018 TEST/
-rw-r--r--     1 shea  2200       100 May 17  2018 z.stub
-rwxr-xr-x     1 shea  2200      4144 May 17  2018 z.so*
-rw-r--r--     1 shea  2200       618 Jun  8  2018 z.monte
-rw-r--r--     1 shea  2200        68 Jun 10  2018 z.sball_names
-rw-r--r--     1 shea  2200       502 Jun 23  2018 z.tst
-rw-r--r--     1 shea  2200       267 Jun 27  2018 danjan.ncl
-rw-r--r--     1 shea  2200      2174 Jul 11  2018 y6.ncl
-rw-r--r--     1 shea  2200      2312 Jul 13  2018 check_func_proc.ncl_DJS
-rw-r--r--     1 shea  2200      2172 Jul 13  2018 check_undef.ncl_DJS
-rw-r--r--     1 shea  2200        31 Jul 20  2018 z.foo2
-rw-r--r--     1 shea  2200        55 Jul 23  2018 z.FallSoft_2018
-rw-r--r--     1 shea  2200        47 Jul 31  2018 z.ERAI
-rw-r--r--     1 shea  2200      2104 Aug  3  2018 z.login
-rw-r--r--     1 shea  2200        14 Aug  3  2018 YUBI.txt
-rw-r--r--     1 shea  2200     11935 Aug  5  2018 month2season.ncl
-rw-r--r--     1 shea  2200     12072 Aug  5  2018 runstat_n.ncl
-rw-r--r--@    1 shea  2200      7080 Aug 13  2018 modis_list.txt
-rw-r--r--     1 shea  2200      4872 Aug 13  2018 out.monthly_ua
-rw-r--r--     1 shea  2200       616 Aug 13  2018 read_print.geeta.ncl
-rw-r--r--     1 shea  2200       685 Aug 21  2018 z.chunk
drwxr-xr-x    28 shea  2200       896 Aug 26  2018 R/
-rw-r--r--     1 shea  2200      4085 Aug 28  2018 pot_temp_equiv_tlcl.ncl
-rw-r--r--     1 shea  2200      1947 Aug 28  2018 tlcl_evp_bolton.ncl
-rw-r--r--     1 shea  2200      9949 Aug 30  2018 TRMM_2d_pdf_autoc.NUM.png
-rw-r--r--     1 shea  2200       150 Sep  6  2018 bike.stuff
-rw-r--r--     1 shea  2200      1141 Sep 17  2018 manual_650.update
-rw-r--r--     1 shea  2200       115 Sep 18  2018 TIME.txt
-rw-r--r--     1 shea  2200      2185 Sep 23  2018 z.topo
-rw-r--r--     1 shea  2200      1637 Oct  4  2018 gev_fit.R
-rw-r--r--     1 shea  2200       720 Oct  4  2018 z.zzz
-rw-r--r--     1 shea  2200       698 Oct  6  2018 z.Medicare
-rw-r--r--     1 shea  2200      2092 Oct  7  2018 z.TRMM_PF.1Z09
-rw-r--r--     1 shea  2200      4188 Oct  8  2018 z.TRMM_1Z09
-rw-r--r--     1 shea  2200        80 Oct 18  2018 z.nc4_replace
-rw-r--r--     1 shea  2200     12097 Nov  3  2018 DJS.ncl_history
-rw-r--r--     1 shea  2200      1115 Nov  5  2018 z.quara_fortran
-rw-r--r--     1 shea  2200      2521 Nov 15  2018 find_maxval.ncl
-rw-r--r--     1 shea  2200      1087 Nov 20  2018 z.github
-rw-r--r--     1 shea  2200       107 Nov 22  2018 README.651
-rw-r--r--     1 shea  2200      2056 Nov 22  2018 z.onset
-rw-r--r--     1 shea  2200       521 Nov 28  2018 z.xd
-rw-r--r--     1 shea  2200       149 Nov 28  2018 z.DashClean
-rw-r--r--     1 shea  2200      2724 Nov 29  2018 z.S10_2002
-rw-r--r--     1 shea  2200      4255 Dec  5  2018 runave_dp.f
drwxr-xr-x     6 shea  2200       192 Dec 13  2018 DAVID/
-rw-r--r--     1 shea  2200       226 Dec 16  2018 JT.dinner
-rw-r--r--     1 shea  2200       465 Dec 18  2018 z123
-rw-r--r--@    1 shea  2200     40826 Dec 23  2018
BostomCommon_2018_tree.JPG
-rw-r--r--@    1 shea  2200    114583 Dec 26  2018 JFK.Christmas_Letter.jpg
-rw-r--r--     1 shea  2200    142959 Jan  3  2019
plot_concatenated_fishing_effort.png
-rw-r--r--@    1 shea  2200      6285 Jan  3  2019
plot_concatenated_fishing_effort.NEW.ncl
-rw-r--r--     1 shea  2200      3026 Jan  3  2019 books.EileenSmith.2018
drwxr-xr-x     3 shea  2200        96 Jan 13  2019 GRADS/
-rw-r--r--     1 shea  2200      8810 Jan 25  2019 prc_rain_snow.xml
-rw-r--r--     1 shea  2200      8817 Jan 25  2019 rain_snow_mwbm.xml
-rw-r--r--     1 shea  2200      3216 Jan 26  2019 z.Karin
-rw-r--r--     1 shea  2200      2711 Jan 27  2019 z.NCL2PY_v0
-rw-r--r--     1 shea  2200      2823 Jan 27  2019 z.NCL2PY
-rw-r--r--     1 shea  2200      1929 Feb  4  2019 Y.Y
-rw-r--r--     1 shea  2200      4769 Feb  4  2019 Z.Z_copy
-rw-r--r--     1 shea  2200      4258 Feb  4  2019 Z.Z
-rw-r--r--     1 shea  2200      2451 Feb  6  2019 z.pivot_comments
-rw-r--r--     1 shea  2200       297 Feb  8  2019 z.xxx
-rw-r--r--     1 shea  2200      5880 Feb 10  2019 y.ncl_py
-rw-r--r--     1 shea  2200      1756 Feb 10  2019 y.py_ncl
-rw-r--r--     1 shea  2200      7039 Feb 10  2019 shear_stretch_deform.xml
-rw-r--r--     1 shea  2200      2527 Feb 11  2019 z.Colin
-rw-r--r--     1 shea  2200      1914 Feb 14  2019 z.Pivot_2_Python
-rw-r--r--     1 shea  2200      2966 Feb 16  2019 Chevy.S10.2002.txt
-rw-r--r--     1 shea  2200      1929 Feb 16  2019 z.qqq
-rw-r--r--     1 shea  2200      2013 Feb 16  2019 z.S10_2002_troy_draft
-rw-r--r--     1 shea  2200      8470 Feb 16  2019 z.S10_2002_troy_sent
-rw-r--r--     1 shea  2200      4097 Feb 20  2019 z.NCL_660
-rw-r--r--     1 shea  2200    127958 Feb 28  2019
Emissions_CMIP6_to_FV_96x144.png
-rw-r--r--     1 shea  2200      4051 Mar  7  2019 testFilter.ncl
-rw-r--r--     1 shea  2200        95 Apr  8  2019 README.caspar
-rw-r--r--     1 shea  2200      1140 Apr 15  2019 wget.ncl
-rw-r--r--     1 shea  2200       302 Apr 15  2019 z.NotreDame
-rw-r--r--     1 shea  2200     15058 May  2  2019 dump.tiegmdir
-rw-r--r--     1 shea  2200      1205 May 21  2019 z.ncl_fortran
-rw-r--r--     1 shea  2200       416 Jun  2  2019 z.work
-rw-r--r--     1 shea  2200       941 Jun  2  2019 tst_wndbarb.ncl
drwxr-xr-x    29 shea  2200       928 Jun  3  2019 PYTHON/
-rw-r--r--     1 shea  2200      2339 Jun  9  2019 z.sball_2019
-rw-r--r--     1 shea  2200       581 Jun 13  2019 ncl.tcsh
-rw-r--r--     1 shea  2200        45 Jun 13  2019 z.GFS
-rw-r--r--     1 shea  2200      4051 Jul  9  2019 z.RickB
-rw-r--r--     1 shea  2200      2266 Jul 16  2019 y.David.IR
-rw-r--r--     1 shea  2200      3730 Jul 17  2019 z.tcsh
drwxr-xr-x    63 shea  2200      2016 Aug 21  2019 PDF_DOC/
drwx------@   11 shea  2200       352 Aug 26  2019 Dropbox/
-rw-r--r--     1 shea  2200      1024 Aug 30  2019 a.ocean.ncl
-rw-r--r--     1 shea  2200       407 Sep  9  2019 z.units
-rw-r--r--     1 shea  2200       204 Sep 14  2019 Adam_Setereh.email
-rw-r--r--     1 shea  2200      1283 Sep 22  2019 genNormalDist.ncl
-rw-r--r--     1 shea  2200       894 Sep 28  2019
tst.scikit_skill_metric.ncl
-rw-r--r--     1 shea  2200      4859 Sep 28  2019 skill_metrics.ncl_list
-rw-r--r--     1 shea  2200      5277 Sep 29  2019 skill_metrics.ncl_v0
-rw-r--r--     1 shea  2200      5086 Oct  1  2019 skill_metrics.ncl_v1
-rw-r--r--     1 shea  2200      3432 Oct 18  2019 README.oss
-rw-r--r--     1 shea  2200      1749 Oct 24  2019 z.laura
-rw-r--r--     1 shea  2200    101221 Nov  5  2019 EnsWaveStat.000001.png
-rw-r--r--     1 shea  2200    113690 Nov  5  2019 EnsWaveStat.000002.png
-rw-r--r--     1 shea  2200     99119 Nov  5  2019 EnsWaveStat.000003.png
-rw-r--r--     1 shea  2200     89518 Nov  5  2019 EnsWaveStat.000004.png
-rw-r--r--     1 shea  2200       588 Nov 13  2019 z.surg
-rw-r--r--     1 shea  2200      1322 Nov 22  2019 z.laser
-rw-r--r--     1 shea  2200       127 Dec 29  2019 wget.ncl_cdc
-rw-r--r--     1 shea  2200       893 Jan  6  2020 z.entropy
-rw-r--r--     1 shea  2200      1320 Jan  7  2020 z.Melouk
-rw-r--r--     1 shea  2200       264 Jan  7  2020 z.results
-rw-r--r--     1 shea  2200       831 Jan 15  2020 z.prescription
-rw-r--r--     1 shea  2200       525 Jan 24  2020 breakfast_places
-rw-r--r--     1 shea  2200    102912 Jan 28  2020 TRANSFORM.tar
-rw-r--r--     1 shea  2200       253 Jan 31  2020 z.GP
-rw-r--r--     1 shea  2200       452 Feb 10  2020 z.qaz
-rw-r--r--     1 shea  2200    203747 Feb 18  2020 caspar.png
drwxr-xr-x   192 shea  2200      6144 Feb 24  2020 Data/
-rw-r--r--     1 shea  2200      2436 Mar  3  2020 z.SRI_specx
-rw-r--r--     1 shea  2200      1024 Mar  3  2020 z.MARCO
-rw-r--r--     1 shea  2200       711 Mar  7  2020 z.dale
-rw-r--r--     1 shea  2200       268 Mar 11  2020 z.Will
-rw-r--r--     1 shea  2200        51 Mar 16  2020 z.sherkin_laptop
-rw-r--r--     1 shea  2200      1138 Mar 17  2020 z.VPN
-rw-r--r--     1 shea  2200       316 Mar 19  2020 z.geeta_date.ncl
-rw-r--r--     1 shea  2200       355 Mar 19  2020 z.hunch
-rw-r--r--     1 shea  2200       558 Mar 20  2020 z.beragamo
-rw-r--r--     1 shea  2200       558 Mar 20  2020 z.ELDORA_letter
-rw-r--r--     1 shea  2200       183 Mar 21  2020 z.italy
-rw-r--r--     1 shea  2200       597 Mar 24  2020 z.Trump_Joke
-rw-r--r--     1 shea  2200       184 Mar 25  2020 z.WeatherStrip
-rw-r--r--     1 shea  2200       213 Apr 19  2020 q.q
-rw-r--r--     1 shea  2200       178 May  2  2020 z.TRUMP_Leadership
drwx------    88 shea  2200      2816 May  8  2020 Library/
-rw-r--r--     1 shea  2200       201 May 13  2020 z.covid_19_deaths
-rw-r--r--     1 shea  2200        97 May 16  2020 z.GP_protect
-rw-r--r--     1 shea  2200       340 May 20  2020 z.R_Number
-rw-r--r--     1 shea  2200      3570 May 21  2020 z.Trump_Pres_Price_pay
-rw-r--r--     1 shea  2200       214 Jun  3  2020 z.CIT
-rw-r--r--     1 shea  2200       216 Jun 12  2020 z.Zoom
-rw-r--r--     1 shea  2200       700 Jun 13  2020 z.Fishing_shirt
-rw-r--r--     1 shea  2200      1466 Jun 24  2020 soil.Suman_Mailty.ncl
-rw-r--r--     1 shea  2200      1615 Jun 24  2020 soil.multi_dim.ncl
-rw-r--r--     1 shea  2200       545 Jun 26  2020 z.Confusious
-rw-r--r--     1 shea  2200       425 Jun 27  2020 z.WaistPack
-rw-r--r--     1 shea  2200        62 Jun 30  2020 z.LordRings+Ents
-rw-r--r--     1 shea  2200         5 Jul 16  2020 z.DenverPost
-rw-r--r--     1 shea  2200       309 Jul 25  2020 z.Rather
-rw-r--r--     1 shea  2200       210 Jul 25  2020 z.nba_stream
-rw-r--r--     1 shea  2200      1289 Jul 27  2020 dv2uvG_Wrap.xml
-rw-r--r--     1 shea  2200       323 Aug  6  2020 z.back_pain
-rw-r--r--     1 shea  2200      2602 Aug  7  2020 climo_0.ncl
-rw-r--r--     1 shea  2200       465 Aug  8  2020 z.Swingline_Staples
-rw-r--r--     1 shea  2200      7101 Aug  9  2020 z.Security_Rules
-rw-r--r--     1 shea  2200       186 Aug 13  2020 a.v
-rw-r--r--     1 shea  2200      1155 Aug 14  2020 tst_dim_dot_n.ncl
-rw-r--r--     1 shea  2200       813 Aug 16  2020 z.forrest_CivilWar
-rw-r--r--     1 shea  2200       823 Aug 17  2020 z.2020_temps
-rw-r--r--     1 shea  2200      4906 Aug 25  2020 z.skill_metric.ncl
-rw-r--r--     1 shea  2200      1377 Sep  1  2020 z.chainsaw
-rw-r--r--     1 shea  2200       860 Sep  4  2020 z.MingChen
-rw-------     1 shea  2200      3620 Oct 17  2020 mbox
-rw-r--r--     1 shea  2200       463 Nov 25  2020 a.abc
-rw-r--r--     1 shea  2200      1577 Nov 25  2020 ncl_talk.Kunal_Dayal.ncl
-rw-r--r--     1 shea  2200       970 Nov 28  2020 concrete.txt
-rw-r--r--     1 shea  2200     42935 Nov 29  2020 ezfft.f
-rw-r--r--     1 shea  2200      2147 Dec  3  2020 z.ELDORA_email
-rw-r--r--     1 shea  2200      5979 Dec 19  2020 z.GusCorrea_Response.txt
-rw-r--r--     1 shea  2200       213 Dec 20  2020 z.PythonClimateCycle.txt
drwxr-xr-x     3 shea  2200        96 Dec 28  2020 STORY/
-rw-r--r--     1 shea  2200       458 Jan  6  2021 z.mum
-rw-r--r--     1 shea  2200      1051 Jan  7  2021 z.6JAN2021
-rw-r--r--     1 shea  2200       815 Jan 15  2021 z.waltz
drwxr-xr-x     4 shea  2200       128 Jan 25  2021 IRELAND_DOCS/
-rw-r--r--     1 shea  2200       475 Jan 26  2021 z.dad_story
-rw-r--r--     1 shea  2200      9134 Feb 14  2021 z.COVID_19_timeline
-rw-r--r--     1 shea  2200      3653 Feb 15  2021 z.fortran_comments
-rw-r--r--     1 shea  2200       799 Feb 25  2021 z.GlobalProtect
-rw-r--r--     1 shea  2200   4818219 Mar  1  2021 GlobalProtectLogs.tgz
-rw-r--r--     1 shea  2200        53 Mar  9  2021 z.corner_desk
-rw-r--r--     1 shea  2200      1163 Mar 10  2021 z.ymca_hockey
-rw-r--r--     1 shea  2200        31 Apr 14  2021 z.Easy_MAC_Care
-rw-r--r--     1 shea  2200       501 Apr 14  2021 a.zxc
-rw-r--r--     1 shea  2200       483 May  7  2021 zqw.txt
drwxr-xr-x  1396 shea  2200     44672 May 15  2021 fcode/
drwx------    69 shea  2200      2208 May 18  2021 Documents/
-rw-r--r--     1 shea  2200       584 May 21  2021 z.msg2david
-rw-r--r--     1 shea  2200      2143 Jun  3  2021 z.column
-rw-r--r--     1 shea  2200       654 Jun  7  2021 z.AbeLincoln
-rw-r--r--     1 shea  2200        54 Jul 21  2021 z.resp
-rw-r--r--@    1 shea  2200    175062 Aug  2  2021 NUG_multi_timeseries.png
-rw-r--r--     1 shea  2200      3971 Aug  9  2021 z.neighborhood
-rw-r--r--     1 shea  2200       828 Aug 26  2021 ReviewReferences.txt
-rw-r--r--     1 shea  2200      2429 Aug 26  2021 Review.Julie.txt
-rw-r--r--     1 shea  2200      2429 Aug 26  2021 NCL_HISTORY.txt
-rw-r--r--     1 shea  2200       769 Aug 26  2021 Trump_KURD.txt
-rw-r--r--     1 shea  2200      1374 Aug 30  2021 zIreland.SueMeyer.txt
-rw-r--r--     1 shea  2200      1182 Sep  2  2021 zStory.Music
drwx------    75 shea  2200      2400 Jan 20 08:47 Desktop/
-rw-r--r--     1 shea  2200      1430 Feb 25 11:43 a.a
drwxr-xr-x    80 shea  2200      2560 Mar 26 22:17 Misc/
drwx------  1626 shea  2200     52032 Apr  1 12:20 Downloads/
-rw-r--r--     1 shea  2200       708 Apr  2 11:50 z.set
lrwx------     1 shea  2200        20 Apr  2 11:55 Google Drive@ ->
/Volumes/GoogleDrive
/Users/shea >less z.set


Hello.

This was sent only to me. ncl-talk was not included.
Maybe something like the following

 var3  = sm_am(x,:,:)     ;sm_am = soil moisture am data x = time dimension
 var4  = sm_pm(x,:,:)     ;sm_pm = soil moisture pm data x = time dimension

 var5  = var3 + var4     ; total .... only if var3 and var4 are not missing
(_FillValue)
                                    ; var5 is missing if one or both var3
and var4 are missing

 var5  = where(ismissing(var5) .and. .not.ismissing(var3), var3, var5)
 var5  = where(ismissing(var5) .and. .not.ismissing(var4), var4, var5)

 var5 at long_name = "Total Soil Moisture"
 var5 at units           = var3 at units
 copy_VarCoords(var3, var5)
 printVarSummary(var5)

On Fri, Apr 1, 2022 at 7:41 PM JETAL SUTARIYA via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hi NCL user community,
>
> I am trying to add two arrays: SMAP soil moisture L3 am and pm arrays, to
> obtain total soil moisture.
> Soil moisture total(var5) is var3+var4 but when there are missing values
> in either of those arrays, then var5 is also having missing values.
> Instead, I want to use sm_pm(var4) when sm_am(var3) is having missing values
> and if sm_pm(var4) is having missing values then use sm_am(var3), and when
> both are having nonmissing values then sum them.
>
> I use below code but var5 is solved for line 3 of the code rather than
> both the line 3 and line 4, so where var4 is missing it does not use var3
> value:
>  var3 = sm_am(x,:,:) ;sm_am = soil moisture am data x = time dimension
>  var4 = sm_pm(x,:,:) ;sm_pm = soil moisture pm data x = time dimension
>  var5 = where(ismissing(var3), var4, var3+var4)
>  var5 = where(ismissing(var4), var3, var3+var4)
>
> Please suggest a way to get the correct total soil moisture array such
> that these conditions are satisfied.
>
> I would appreciate your help in finding a solution.
>
> Thank you,
> Jetal
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220402/4bf8f967/attachment.html>


More information about the ncl-talk mailing list