Skip to content
/ DEEP Public

Tracing and identificating both frequent and infrequent polynyas in Antarctic. Using this program, the dataset of Daily Edge of Each Polynyas in Antarctica (DEEP-AA) is created.

License

Notifications You must be signed in to change notification settings

Mou-si/DEEP

Repository files navigation

DEEP-AA getting started

The dataset of Daily Edge of Each Polynya in Antarctica (DEEP-AA) recorded the daily map of each Antarctica polynya. To create this dataset, we developed a novel polynya tracing and identification method.

Here is the script to create and evaluate the DEEP-AA dataset. All these codes are written in MATLAB. Following is the tutorial to run these scripts.

The dataset is available at https://doi.org/10.5281/zenodo.11379148.

Creating the DEEP-AA dataset

Preparing the data

What you need:

  1. Daily open water map
  2. Land mask
  3. Air temperature (optional)
  4. Landfast ice mask (optional)

To create the dataset, the daily open water map files and land mask are required.

The open water maps can be obtained based on sea ice concentration data or brightness temperature data by PSSM. For the open water maps, it would be best if a binary matrix where 0 represents water and 1 represents ice can be provided directly. On the other hand, if you provide sea ice concentration data and thresholds, our code can also handle it. But no matter what data is inputted, it should be ensured that the daily map is saved in a separate file, and the file name should be changed to an 8-digit number to represent the time (i.e. YYYYMMDD). Our code supports the formats of NetCDF(.nc), HDF(.hdf), and MATLAB formatted data(.mat).

Tips: The grid of open water maps should preferably be in polar projection.

The land mask should be preprocessed to fill the waters surrounded by land. You can use the script of ./CreateMasks/CreateLandMask.m to do the preprocessing. The land mask should not change over time.

Air temperature and landfast ice masks are optional, but we recommend you input them.

Air temperature is used to judge season, which can avoid the very unstable polynyas in warmer seasons expanding violently and bringing errors. The air temperature should also be 4 times a day (UTC00, 08, 12, 20), and in NetCDF file. Each day's data is placed in a different file and marked with an 8-digit date, as the open water maps.

Landfast ice masks are used to improve the issues that passive microwave data are not good at distinguishing between fast ice, ice shelves, and thin ice areas. Now our codes only support the land fast ice from Fraser, which is semimonthly and in NetCDF files. The landfast ice masks should be interpolated before using. You can use ./CreateMasks/CreateFastIceMask.m.

Setting the parameters

The parameters should be set in the MATLAB code file (.m). You can see an example of ./NameList.m. The file should be put together with the main codes. The parameters for optional modes (Air temperature and Landfast ice mask) are in independent files, but they will be called in the main parameters setting file.

Tips: the clear all; in the example file (./NameList.m) is necessary. DON'T change it.

Running the codes

Before running the codes please check if the switch of warning is on. All warnings in this program are very important.

Now you should first find the path where you store the main codes of this program (the folder with FindPolynyaMain.m) and parameter settings. They should be in one position If not, copy the parameter setting file to the directory of main codes.

Then open your MATLAB and change the directory to the directory of main codes.

cd [the directory of main codes]

Although our example parameter setting file (NameList.m) includes a command to empty the variables in memory, we also recommend you initialize memory before running codes:

clear all;

Now you can run the code. All you have to do is call FindPolynyaMain and with the string of the name of the parameter setting file:

FindPolynyaMain(['name of your parameter setting file'])

for example

FindPolynyaMain('NameList')

In default, all figure windows will be closed and your command window will be cleared when you run the FindPolynyaMain. You can also change these settings if you don't like this.

FindPolynyaMain(___, 'clcFlag', 'off')
FindPolynyaMain(___, 'closeFlag', 'off')

You can also choose to output the diary to the directory of main codes (there is no diary in default). The diary will be named Diary_[name of your parameter setting file].

FindPolynyaMain(___, 'diary', 'on')

Refer to the help for how to turn on/off them

help FindPolynyaMain

Checking the output

The outputs of the code, i.e., the DEEP-AA dataset, are in NetCDF files. Each day's polynya extent map is placed in a separate file. In our work, each polynya is given a unique ID that does not change over time. In each day's map, we mark the extent of the polynyas with their IDs. In addition, the open sea, and lands are also shown. See details in the following table:

Value Element represented
NaN or -999 mask of lands
-100 mask of landfast ice from Fraser
-2 open sea
-1 the other open waters (not polynyas)
>0 ID masks of polynyas indicating the daily extents

And the odd ID numbers indicate open-ocean polynyas and the even ID numbers are coastal.

In addition, we also output the input parameters to facilitate check (Input.txt).

To easily find the polynya's IDs, the overview map is also provided (OverviewMap.mat). You can use the ./OverviewMapTool/PolynyaIDsFinder_Guide.m to view the overview map and ask the IDs. This tool has a GUI, you can easily do this with just clicks, and at last, the results will be copied automatically.

Here is a movie about how to use the PolynyaIDsFinder, and you can also see the readme for this tool

PolynyaIDsFinder Guide

We also provide a Python version of FindPolynyaIDs for users who cannot use MATLAB. But this is translated using ChatGTP, so it is not only not as powerful as MATLAB, but also very slow.

The dataset has been evaluated by the codes in ./Evaulate.

Enjoy your DEEP-AA!

About

Tracing and identificating both frequent and infrequent polynyas in Antarctic. Using this program, the dataset of Daily Edge of Each Polynyas in Antarctica (DEEP-AA) is created.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published