Skip navigation links

NPD I/O - October 2019

The Petroware AS NPD I/O module is a Java library for accessing data from the Norwegian Petroleum Directorate (NPD) fact pages.

See: Description

Packages 
Package Description
no.petroware.npdio  
no.petroware.npdio.company  
no.petroware.npdio.discovery  
no.petroware.npdio.facility  
no.petroware.npdio.field  
no.petroware.npdio.license  
no.petroware.npdio.pipeline  
no.petroware.npdio.survey  
no.petroware.npdio.well  
The Petroware AS NPD I/O module is a Java library for accessing data from the Norwegian Petroleum Directorate (NPD) fact pages.

The NPD FactPages contain information regarding the petroleum activities on the Norwegian continental shelf. The information is synchronised with the NPD's databases on a daily basis.

A coding example is shown below:

import no.petroware.npdio.well.*;
import no.petroware.npdio.field.*;
:

//
// Read all NPD development wellbores
//
List<NpdWellbore> wellbores = NpdDevelopmentWellboreReader.readAll();

// Loop over the wellbores and write to console
for (NpdWellbore wellbore : wellbores)
  System.out.println(wellbore);

:

//
// Read all NPD fields
//
List<NpdField> fields = NpdFieldReader.readAll();

// Loop over the fields and load production data for each and write to console
for (NpdField field : fields) {

  System.out.println(field.getName());

  // Read production data
  ProductionReader.readAll(field);

  // Write oil production to console
  for (Production.Entry productionEntry : field.getProduction().getEntries()) {
    int year = productionEntry.getYear();
    int month = productionEntry.getMonth();
    double oilProduction = productionEntry.getOil();

    System.out.println("Oil production: " + year + "/" + month + ": " + oilProduction);
  }
}

:

NPD I/O access data through HTTPS. As the URL for each data type may change over time, they can be provided by the client for flexibility.

As of October 2019 the correct URLs for each NPD data type is as follows:

Data type URL
NpdCompany https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/company&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.121.112&CultureCode=en
NpdDevelopmentWellbore https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/wellbore_development_all&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=80.239.106.206&CultureCode=en
NpdDiscovery https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/discovery&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.71.51&CultureCode=en
NpdExplorationWellbore https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/wellbore_exploration_all&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=80.239.106.206&CultureCode=en
NpdField https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/field&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.121.112&CultureCode=en
NpdFixedFacility https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/facility_fixed&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.121.112&CultureCode=en
NpdLicense https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/licence&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=213.225.65.178&CultureCode=en
NpdMoveableFacility https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/facility_moveable&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.121.112&CultureCode=en
NpdOtherWellbore https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/wellbore_other_all&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=80.239.106.206&CultureCode=en
NpdPipeline https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/tuf_pipeline_overview&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.71.51&CultureCode=en
NpdProduction https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/field&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=92.221.121.112&CultureCode=en
NpdSurvey https://npdfactpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/survey&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=213.225.65.178&CultureCode=en
Skip navigation links

Copyright © 2018 Petroware AS - https://petroware.no