Terrascope logo Proba-V MEP logo
This forum applies to Terrascope and Proba-V MEP. Please note that the forum is in English only.
Please log in using the link in the top menu to add new forum topics or comments.

Virtual machines

can we use a git repository?

It seems so, as git is installed. But I get an error when trying to push my local edits to gitlab.

fatal: unable to access 'https://git.some/access.git/': Failed connect to git.starlab.es:443; Connection tim ed out

It doesn't even let me introduce my user name and password.

 

Any help would be greatly appreciated.

 

Regards,

 

Marc

 

PD: I saw that github is working well (so I will be using that)

 

Access to Sentinel1 backscatter and Sentinel1 6 day coherence

Hello!

 

I would like to do some some test regarding processing (extracting timeseries) from Sentinel data. I wrote some scripts that do the job on a dias (ONDA dias), but I would like to test if I get them running on terrascope as well.

I already found the Sentinel2 data (in  /data/sentinel_data/sentinel2/raw/l2a_esa/2019/*) but I'd like to test processing sentinel1 backscatter and sentinel1 6 day coherence as well. Is this data available somewhere as well?

Regards,

Pieter

Warning related to h5py

I am working on some dummy pyspark examples where I just want to read some HDF5 files. I get the following warning and after a small google search, it seems that the h5py library needs to be upgraded.

/opt/rh/rh-python35/root/usr/lib64/python3.5/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.   from ._conv import register_converters as _register_converters Any ideas?

Thank you.  

Download files using opensearch returned link: error 401

Dear Support,

                   our system supports the possibility to get images from the shared drive or via OpenSearch from different nodes.

In the past we were able to search and donwload files. Now we receive http 401 when we try to download.

The system makes and opensearch query, it works, then takes the link from the Atom result and make a request to download the file.

Our code (in Java) used the http authentication that worked before. 

The code snippet is:

________________________________________ // Basic HTTP Authentication m_oLogger.debug("ProviderAdapter.downloadViaHttp: sDownloadUser = " + sDownloadUser); Authenticator.setDefault(new Authenticator() {      protected PasswordAuthentication getPasswordAuthentication() {           try {                return new PasswordAuthentication(sDownloadUser, sDownloadPassword.toCharArray());           } catch (Exception oEx) {                   m_oLogger.error("ProviderAdapter.downloadViaHttp: exception setting auth " + org.apache.commons.lang.exception.ExceptionUtils.getStackTrace(oEx));           }           return null;     } }); m_oLogger.debug("ProviderAdapter.downloadViaHttp: FileUrl = " + sFileURL);

URL oUrl = new URL(sFileURL); HttpURLConnection oHttpConn = (HttpURLConnection) oUrl.openConnection(); oHttpConn.setRequestMethod("GET"); oHttpConn.setRequestProperty("Accept", "*/*"); oHttpConn.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"); int responseCode = oHttpConn.getResponseCode(); // always check HTTP response code first if (responseCode == HttpURLConnection.HTTP_OK) {                   m_oLogger.debug("ProviderAdapter.downloadViaHttp: Connected"); ________________________________________

 

I'm sure that user and password are correct (tried with user interface).

 

Can you help us to solve this issue? Is Basic Authentication already supported? Is there any other way to authenticate "by code" ? Or any other way to download the products by code and not by hand?

Thank you very much

Paolo 

Public IP Address

Dear Support, we moved the machine from the old system to the one. We had a public IP address and we need it for our service.

Is this still possible?

I found only private addresses in the if-config. 

Our service is expose API that has to be called from other client and servers, so we need a public address.

Thank you very much for your support.

Best

Paolo

~/.bashrc gets reset everytime

I'm trying to create aliases permanently by putting them into my ~/.bashrc file. I was instructed to do so here: https://proba-v-mep.esa.int/documentation/manuals/python-package-management

However, when logging off and on again, the aliases work just once. The bashrc file gets reset and my aliases disappear. Am I doing something wrong?

stay up to date!
subscribeto our newsletter
new perspectives

Stay up to date!