anti-meridian crossing with MATLAB

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
dijudi89
Posts: 3
Joined: Fri Oct 29, 2021 8:27 am America/New_York

anti-meridian crossing with MATLAB

by dijudi89 » Fri Oct 29, 2021 10:08 am America/New_York

Dear all,

I am wondering about a solution to work with a subset of data crossing anti-meridian. Currently, I am extracting data just like

J=find(lat > -30 & lat < 0);
K=find(lon > 170 & lon < 180);

and cannot cross < 180.

Help is very much appreciated!
Many thanks,
Judith

Tags:

ASDC - ingridgs
User Services
User Services
Posts: 59
Joined: Fri Apr 23, 2021 9:14 am America/New_York
Answers: 1

Re: anti-meridian crossing with MATLAB

by ASDC - ingridgs » Fri Oct 29, 2021 3:18 pm America/New_York

Hello Judith,

Thank you for contacting the Forum.
Can you please let us know what product are you working on so I can direct you to the right expert?

Thank you,

dijudi89
Posts: 3
Joined: Fri Oct 29, 2021 8:27 am America/New_York

Re: anti-meridian crossing with MATLAB

by dijudi89 » Sat Oct 30, 2021 5:32 am America/New_York

Many thanks for your quick reply. I am working on GPM IMERG Final Precipitation L3 Half Hourly 0.1 degree x 0.1 degree V06 (GPM_3IMERGHH) at GES DISC.

GES DISC - zliu
User Services
User Services
Posts: 12
Joined: Tue Sep 17, 2019 2:11 pm America/New_York

Re: anti-meridian crossing with MATLAB

by GES DISC - zliu » Wed Nov 03, 2021 9:24 am America/New_York

Thank you for using IMERG from GES DISC.

Our data subsetter interface also has the similar restriction,

“East coordinate must be greater than west coordinate AND bounding box should not cross anti-meridian or geographical poles.”

However, Giovanni does allow this by using fill values such as,

https://giovanni.gsfc.nasa.gov/giovanni ... itationCal

Seems different software packages have different solutions to this question. In GrADS (http://cola.gmu.edu/grads/), one can use (0-360) for this situation, for example.

Have you contacted the Matlab Help Center? We have very limited support for Matlab. The HDF Group currently maintains a list of examples in different codes including Matlab for IMERG, https://hdfeos.org/zoo/index_openGESDISC_Examples.php

Hope these help.

Post Reply