Hi,
I am trying to do an area-averaged analysis of MPAS model data. Is there an easy way to obtain a list of cells within certain distance (degrees of latitude/longitude) from a fixed location? What I was trying was to use the variable cellsOnCell and the lat/lon(Cell). However I found that the latitudes and longitudes of cells in the neighborhood of some cell (from cellsOnCell) are discontinuous.
The following are the neighbor cells of two cells in the 60-3km resolution case. Could anyone please help? Thank you!
734701
(0) final current Cell = 734357 lat=4.07116457315735 lon=3.739056711449173
(0) final current Cell = 734073 lat=-4.933592412367122 lon=357.5038769989663
(0) final current Cell = 45805 lat=-5.549895945716914 lon=0.03451687179975495
(0) final current Cell = 734703 lat=-4.158707227972656 lon=3.61774261933559
(0) final current Cell = 736024 lat=5.400574252372644 lon=0.8741581850622008
(0) final current Cell = 183874 lat=-4.323387234497731 lon=356.6472629097582
(0) final current Cell = 0 lat=5.419508248323731 lon=358.9535832787361
318863
(0) final current Cell = 318475 lat=-30.47238510772734 lon=333.7801957403656
(0) final current Cell = 318476 lat=-3.682307041104671 lon=320.5147341002601
(0) final current Cell = 79696 lat=-30.65572769938358 lon=335.4436298722315
(0) final current Cell = 319215 lat=-29.92440110474912 lon=334.8256002795744
(0) final current Cell = 318980 lat=32.91497599367084 lon=337.6165941481133
(0) final current Cell = 79546 lat=-38.60318379728767 lon=12.18674900660047
(0) final current Cell = 0 lat=5.419508248323731 lon=358.9535832787361
regards
Feng
I am trying to do an area-averaged analysis of MPAS model data. Is there an easy way to obtain a list of cells within certain distance (degrees of latitude/longitude) from a fixed location? What I was trying was to use the variable cellsOnCell and the lat/lon(Cell). However I found that the latitudes and longitudes of cells in the neighborhood of some cell (from cellsOnCell) are discontinuous.
The following are the neighbor cells of two cells in the 60-3km resolution case. Could anyone please help? Thank you!
734701
(0) final current Cell = 734357 lat=4.07116457315735 lon=3.739056711449173
(0) final current Cell = 734073 lat=-4.933592412367122 lon=357.5038769989663
(0) final current Cell = 45805 lat=-5.549895945716914 lon=0.03451687179975495
(0) final current Cell = 734703 lat=-4.158707227972656 lon=3.61774261933559
(0) final current Cell = 736024 lat=5.400574252372644 lon=0.8741581850622008
(0) final current Cell = 183874 lat=-4.323387234497731 lon=356.6472629097582
(0) final current Cell = 0 lat=5.419508248323731 lon=358.9535832787361
318863
(0) final current Cell = 318475 lat=-30.47238510772734 lon=333.7801957403656
(0) final current Cell = 318476 lat=-3.682307041104671 lon=320.5147341002601
(0) final current Cell = 79696 lat=-30.65572769938358 lon=335.4436298722315
(0) final current Cell = 319215 lat=-29.92440110474912 lon=334.8256002795744
(0) final current Cell = 318980 lat=32.91497599367084 lon=337.6165941481133
(0) final current Cell = 79546 lat=-38.60318379728767 lon=12.18674900660047
(0) final current Cell = 0 lat=5.419508248323731 lon=358.9535832787361
regards
Feng